@riebeckite/plugin-shortcodes 0.0.14 → 0.0.16
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 +2 -1
- package/README_ja.md +3 -2
- package/dist/index.js +4 -0
- package/package.json +3 -3
package/README.md
CHANGED
package/README_ja.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @riebeckite/plugin-shortcodes
|
|
2
2
|
|
|
3
|
-
`remark-directive`
|
|
3
|
+
`remark-directive` を使う汎用ショートコード機能です。
|
|
4
4
|
|
|
5
5
|
[English](./README.md)
|
|
6
6
|
|
|
@@ -108,4 +108,5 @@ container }` を受け取り、文字列を返します。コンテナ型では
|
|
|
108
108
|
|
|
109
109
|
## 関連
|
|
110
110
|
|
|
111
|
-
- [プラグインガイド](../../../docs/ja/reference/plugin-api.md)
|
|
111
|
+
- [プラグインガイド](../../../docs/ja/docs/reference/plugin-api.md)
|
|
112
|
+
|
package/dist/index.js
CHANGED
|
@@ -485,6 +485,10 @@ var PLUGIN_NAME = "shortcodes";
|
|
|
485
485
|
function shortcodes(options = {}) {
|
|
486
486
|
return definePlugin({
|
|
487
487
|
name: PLUGIN_NAME,
|
|
488
|
+
processedContentCache: {
|
|
489
|
+
version: "shortcodes-v1",
|
|
490
|
+
dependencyMode: "unsafe"
|
|
491
|
+
},
|
|
488
492
|
options,
|
|
489
493
|
extendMarkdownPipeline: (pipeline, context) => {
|
|
490
494
|
pipeline.use(remarkShortcodes, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-shortcodes",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@types/mdast": "^4.0.4",
|
|
19
19
|
"unist-util-visit": "^5.1.0",
|
|
20
|
-
"@riebeckite/core": "0.0.
|
|
20
|
+
"@riebeckite/core": "0.0.16"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"tsx": "^4.22.4",
|
|
24
|
-
"@riebeckite/test": "0.0.
|
|
24
|
+
"@riebeckite/test": "0.0.16"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|