Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-03-21 15:52:12 +0300
committerGitHub <noreply@github.com>2020-03-21 15:52:12 +0300
commitb6ce753ae7892839899962b879e2cc5808c60732 (patch)
tree7faafbb7c91de49ea96fa44d3727cc4018c1f07c /exampleSite
parentaed8734d83cf68df3b8dc62b27c37888c5cc9569 (diff)
feat(shortcodes): add width and height params for echarts shortc… (#192)
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md10
-rw-r--r--exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md10
-rw-r--r--exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md10
3 files changed, 30 insertions, 0 deletions
diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md
index 207542a..b018300 100644
--- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md
+++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md
@@ -909,6 +909,16 @@ The rendered output looks like this:
}
{{< /echarts >}}
+The `echarts` shortcode has also the following named parameters:
+
+* **width** *[optional]* (**first** positional parameter)
+
+ {{< version 0.2.0 >}} Width of the data visualization, default value is `100%`.
+
+* **height** *[optional]* (**second** positional parameter)
+
+ {{< version 0.2.0 >}} Height of the data visualization, default value is `30rem`.
+
## `mapbox`
{{< version 0.2.0 >}}
diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md
index 6a6868b..8af9e20 100644
--- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md
+++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md
@@ -914,6 +914,16 @@ The rendered output looks like this:
}
{{< /echarts >}}
+The `echarts` shortcode has also the following named parameters:
+
+* **width** *[optional]* (**first** positional parameter)
+
+ {{< version 0.2.0 >}} Width of the data visualization, default value is `100%`.
+
+* **height** *[optional]* (**second** positional parameter)
+
+ {{< version 0.2.0 >}} Height of the data visualization, default value is `30rem`.
+
## `mapbox`
{{< version 0.2.0 >}}
diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md
index 9d1dc83..df80bcc 100644
--- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md
@@ -910,6 +910,16 @@ data = [
}
{{< /echarts >}}
+`echarts` shortcode 还有以下命名参数:
+
+* **width** *[可选]* (**第一个**位置参数)
+
+ {{< version 0.2.0 >}} 数据可视化的宽度, 默认值是 `100%`.
+
+* **height** *[可选]* (**第二个**位置参数)
+
+ {{< version 0.2.0 >}} 数据可视化的高度, 默认值是 `30rem`.
+
## `mapbox`
{{< version 0.2.0 >}}