@riebeckite/plugin-map 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/README_ja.md +3 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @riebeckite/plugin-map
|
|
2
2
|
|
|
3
|
+
<!-- Generated from docs/docs/plugins/map.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
|
|
4
|
+
|
|
3
5
|
Turns a ` ```map ` fenced code block and/or frontmatter coordinates into an
|
|
4
6
|
embedded map. The page is rendered with a static fallback first (coordinates,
|
|
5
7
|
place name, OpenStreetMap links, and an optional static image), and upgraded to
|
|
@@ -173,5 +175,4 @@ to inject a fake Leaflet).
|
|
|
173
175
|
|
|
174
176
|
## See also
|
|
175
177
|
|
|
176
|
-
- [Plugin system](
|
|
177
|
-
|
|
178
|
+
- [Plugin system](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.md)
|
package/README_ja.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @riebeckite/plugin-map
|
|
2
2
|
|
|
3
|
+
<!-- Generated from docs/docs/plugins/map.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
|
|
4
|
+
|
|
3
5
|
` ```map ` コードブロックや frontmatter の座標を、埋め込み地図に変換するプラグインです。まず静的フォールバック(座標・場所名・OpenStreetMap リンク・任意の静的画像)を描画し、地図があるページだけブラウザ側で Leaflet によるインタラクティブ地図に拡張します。
|
|
4
6
|
|
|
5
7
|
[English](./README.md)
|
|
@@ -139,5 +141,4 @@ Leaflet(`leaflet.js` と `leaflet.css`)は、`[data-rr-map="pending"]` の f
|
|
|
139
141
|
|
|
140
142
|
## 関連資料
|
|
141
143
|
|
|
142
|
-
- [プラグインシステム](
|
|
143
|
-
|
|
144
|
+
- [プラグインシステム](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.ja.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-map",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"./style.css": "./style.css"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@riebeckite/core": "0.0.
|
|
24
|
+
"@riebeckite/core": "0.0.22"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|