@riebeckite/plugin-shortcodes 0.0.27 → 0.0.29

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.
Files changed (2) hide show
  1. package/README_ja.md +9 -9
  2. package/package.json +3 -3
package/README_ja.md CHANGED
@@ -45,11 +45,11 @@ export default defineConfig({
45
45
  :::
46
46
  ```
47
47
 
48
- - `:name[label]{key=value}` — インライン型。現在の段落の中の `span` として
48
+ - `:name[label]{key=value}`:インライン型。現在の段落の中の `span` として
49
49
  描画されます。インラインで使えるのは `inlineShortcodes` に含まれる名前だけ
50
50
  で、組み込みでは `badge`、`kbd`、`link-card`、`file` が該当します。
51
- - `::name[label]{key=value}` — ブロックのリーフ型。`div` として描画されます。
52
- - `:::name[label]{key=value}` … `:::` — コンテナ型。本文は通常の Markdown
51
+ - `::name[label]{key=value}`:ブロックのリーフ型。`div` として描画されます。
52
+ - `:::name[label]{key=value}` … `:::`:コンテナ型。本文は通常の Markdown
53
53
  パイプラインで描画されます。
54
54
 
55
55
  ブロック専用のショートコードを `:` で書くと
@@ -281,12 +281,12 @@ container }` を受け取り、文字列を返します。独自レンダラー
281
281
 
282
282
  ## エクスポート
283
283
 
284
- - `shortcodes(options?)` / `shortcodesPlugin` — プラグインファクトリ
285
- - `remarkShortcodes(options?)` — 単体で使える remark トランスフォーム
286
- - `renderShortcode(request, options)` — 単一ショートコードの描画
287
- - `resolveShortcodeOptions(options?)` — オプションの正規化
288
- - `builtinShortcodes`, `builtinShortcodeNames` — 組み込みレジストリ
289
- - `builtinInlineShortcodes` — インラインの `:` 形式で使える組み込み名
284
+ - `shortcodes(options?)` / `shortcodesPlugin`:プラグインファクトリ
285
+ - `remarkShortcodes(options?)`:単体で使える remark トランスフォーム
286
+ - `renderShortcode(request, options)`:単一ショートコードの描画
287
+ - `resolveShortcodeOptions(options?)`:オプションの正規化
288
+ - `builtinShortcodes`, `builtinShortcodeNames`:組み込みレジストリ
289
+ - `builtinInlineShortcodes`:インラインの `:` 形式で使える組み込み名
290
290
  - 型: `ShortcodeRenderer`, `ShortcodeOptions`, `ResolvedShortcodeOptions`,
291
291
  `ShortcodeRenderInput`, `ShortcodeRenderRequest`, `ShortcodeAttributes`,
292
292
  `RemarkShortcodesOptions`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-shortcodes",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
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.27"
20
+ "@riebeckite/core": "0.0.29"
21
21
  },
22
22
  "devDependencies": {
23
23
  "tsx": "^4.22.4",
24
- "@riebeckite/test": "0.0.27"
24
+ "@riebeckite/test": "0.0.29"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"