@riebeckite/plugin-markmap 0.0.21 → 0.0.23

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @riebeckite/plugin-markmap
2
2
 
3
+ <!-- Generated from docs/docs/plugins/markmap.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  Renders ` ```markmap ` code blocks as Markdown-heading mindmaps. The mindmap is
4
6
  drawn in the browser by `markmap-lib` + `markmap-view`, which are imported from
5
7
  the CDN only when a figure is present.
@@ -137,5 +139,4 @@ point for that purpose.
137
139
 
138
140
  ## See also
139
141
 
140
- - [Plugin system](../../../docs/docs/reference/plugin-api.md)
141
-
142
+ - [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-markmap
2
2
 
3
+ <!-- Generated from docs/docs/plugins/markmap.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  ` ```markmap ` コードブロックを、Markdown の見出しから組み立てるマインドマップとして表示するプラグインです。マインドマップはブラウザ側で `markmap-lib` と `markmap-view` により描画し、これらのライブラリは図があるときだけ CDN から読み込みます。
4
6
 
5
7
  [English](./README.md)
@@ -110,5 +112,4 @@ parseMarkmapSource(source: string): MarkmapNode | null
110
112
 
111
113
  ## 関連資料
112
114
 
113
- - [プラグインシステム](../../../docs/docs/reference/plugin-api.ja.md)
114
-
115
+ - [プラグインシステム](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.ja.md)
package/dist/index.js CHANGED
@@ -231,8 +231,16 @@ function markmap(options = {}) {
231
231
  extendHtmlPipeline: (pipeline) => {
232
232
  pipeline.use(rehypeMarkmap, options);
233
233
  },
234
- assets: [createStyleAsset("markmap")],
235
- clientEntries: [createClientEntry("markmap", "initMarkmap")]
234
+ assets: [
235
+ createStyleAsset("markmap", "@riebeckite/plugin-markmap/style.css")
236
+ ],
237
+ clientEntries: [
238
+ createClientEntry(
239
+ "markmap",
240
+ "@riebeckite/plugin-markmap/client",
241
+ "initMarkmap"
242
+ )
243
+ ]
236
244
  });
237
245
  }
238
246
  var markmapPlugin = markmap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-markmap",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "markmap-lib": "^0.18.12",
25
25
  "markmap-view": "^0.18.12",
26
- "@riebeckite/core": "0.0.21"
26
+ "@riebeckite/core": "0.0.23"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"