summaryrefslogtreecommitdiff
path: root/themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2021-08-29 11:48:16 +0200
committerChristoph Cullmann <cullmann@kde.org>2021-08-29 11:48:16 +0200
commit0321812a29e6ec32663556fa7abe2bf2880e5762 (patch)
treeabe0294bd63c046d2b5a164d987d67a64db2c2f6 /themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md
parentf2375511935010a1aeee5683c30b3efb928bef2e (diff)
update to https://github.com/sunt-programator/CodeIT/releases/tag/v0.2.0
Diffstat (limited to 'themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md')
-rw-r--r--themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md b/themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md
index 7d8cd55..3f7a4c1 100644
--- a/themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md
+++ b/themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md
@@ -962,6 +962,10 @@ data = [
地图的高度, 默认值是 `20rem`.
+- **properties** _[optional]_
+
+ GeoJSON sources and the layers of the map.
+
一个简单的 `mapbox` 示例:
```markdown
@@ -986,6 +990,16 @@ data = [
{{< mapbox -122.252 37.453 10 false "mapbox://styles/mapbox/streets-zh-v1?optimize=true" >}}
+Example `mapbox` input with the GetJSON data:
+
+```markdown
+{{</* mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" */>}}
+```
+
+The rendered output looks like this:
+
+{{< mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" >}}
+
## 8 music
`music` shortcode 基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 提供了一个内嵌的响应式音乐播放器.