From 0321812a29e6ec32663556fa7abe2bf2880e5762 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 29 Aug 2021 11:48:16 +0200 Subject: update to https://github.com/sunt-programator/CodeIT/releases/tag/v0.2.0 --- .../theme-documentation-extended-shortcodes/index.zh-cn.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'themes/CodeIT/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md') 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 +{{}} +``` + +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) 提供了一个内嵌的响应式音乐播放器. -- cgit v1.2.3