@riebeckite/plugin-qr-code 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 +3 -1
- package/README_ja.md +3 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @riebeckite/plugin-qr-code
|
|
2
2
|
|
|
3
|
+
<!-- Generated from docs/docs/plugins/qr-code.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
|
|
4
|
+
|
|
3
5
|
Renders ` ```qr ` fenced code blocks into inline SVG QR codes at build time.
|
|
4
6
|
|
|
5
7
|
[日本語](./README_ja.md)
|
|
@@ -101,4 +103,4 @@ The caption comes from the code-block `title` (code meta) or a leading
|
|
|
101
103
|
|
|
102
104
|
## See also
|
|
103
105
|
|
|
104
|
-
- [Plugin guide](
|
|
106
|
+
- [Plugin guide](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-qr-code
|
|
2
2
|
|
|
3
|
+
<!-- Generated from docs/docs/plugins/qr-code.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
|
|
4
|
+
|
|
3
5
|
` ```qr ` コードブロックを、ビルド時にインライン SVG の QR コードへ変換するプラグインです。
|
|
4
6
|
|
|
5
7
|
[English](./README.md)
|
|
@@ -85,4 +87,4 @@ QR エンコーダ(`qrcode`)はビルド時に動的インポートするた
|
|
|
85
87
|
|
|
86
88
|
## 関連資料
|
|
87
89
|
|
|
88
|
-
- [プラグインシステム](
|
|
90
|
+
- [プラグインシステム](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.ja.md)
|
package/dist/index.js
CHANGED
|
@@ -514,7 +514,9 @@ function qrCode(options = {}) {
|
|
|
514
514
|
extendHtmlPipeline: (pipeline) => {
|
|
515
515
|
pipeline.use(rehypeQrCodeLazy, options);
|
|
516
516
|
},
|
|
517
|
-
assets: [
|
|
517
|
+
assets: [
|
|
518
|
+
createStyleAsset(PLUGIN_NAME, "@riebeckite/plugin-qr-code/style.css")
|
|
519
|
+
]
|
|
518
520
|
});
|
|
519
521
|
}
|
|
520
522
|
var qrCodePlugin = qrCode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-qr-code",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"qrcode": "^1.5.4",
|
|
19
|
-
"@riebeckite/core": "0.0.
|
|
19
|
+
"@riebeckite/core": "0.0.23"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|