@kubohiroya/turbowarp-markdown 0.2.1 → 0.4.0
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.ja.md +4 -1
- package/README.md +6 -3
- package/assets/block-icon.svg +1 -0
- package/dist/turbowarp-markdown.js +843 -843
- package/docs/index.html +13 -1
- package/package.json +9 -8
- package/src/config.ts +1 -1
package/README.ja.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# TurboWarp Markdown
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
[English](README.md) | 日本語
|
|
4
6
|
|
|
5
7
|
TurboWarp 上で Markdown を immutable な構造化フラグメントとして組み立て、最後の出力境界でだけ Markdown 文字列へレンダリングする拡張です。
|
|
6
8
|
|
|
@@ -20,6 +22,7 @@ TurboWarp 上で Markdown を immutable な構造化フラグメントとして
|
|
|
20
22
|
## 開発
|
|
21
23
|
|
|
22
24
|
```bash
|
|
25
|
+
npm install --global corepack@latest
|
|
23
26
|
corepack enable
|
|
24
27
|
pnpm install --frozen-lockfile
|
|
25
28
|
pnpm run check
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# TurboWarp Markdown
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
English | [日本語](README.ja.md)
|
|
4
6
|
|
|
5
7
|
A TurboWarp extension for building Markdown as immutable structured fragments and rendering it only at the output boundary.
|
|
6
8
|
|
|
@@ -15,7 +17,7 @@ A TurboWarp extension for building Markdown as immutable structured fragments an
|
|
|
15
17
|
|
|
16
18
|
## Requirements and safety
|
|
17
19
|
|
|
18
|
-
- Node.js
|
|
20
|
+
- Node.js 24 or newer;
|
|
19
21
|
- pnpm through Corepack;
|
|
20
22
|
- TurboWarp's unsandboxed extension option is not required.
|
|
21
23
|
|
|
@@ -24,6 +26,7 @@ Plain text is escaped instead of treated as raw Markdown. The initial version in
|
|
|
24
26
|
## Installation
|
|
25
27
|
|
|
26
28
|
```bash
|
|
29
|
+
npm install --global corepack@latest
|
|
27
30
|
corepack enable
|
|
28
31
|
pnpm install --frozen-lockfile
|
|
29
32
|
```
|
|
@@ -31,7 +34,7 @@ pnpm install --frozen-lockfile
|
|
|
31
34
|
The package is version-pinned when used from npm:
|
|
32
35
|
|
|
33
36
|
```bash
|
|
34
|
-
pnpm add --save-exact @kubohiroya/turbowarp-markdown@0.
|
|
37
|
+
pnpm add --save-exact @kubohiroya/turbowarp-markdown@0.4.0
|
|
35
38
|
```
|
|
36
39
|
|
|
37
40
|
## Quick Start
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><rect x="6" y="8" width="36" height="32" rx="4" fill="#2F6386"/><path d="M13 30V18l5 7 5-7v12M27.5 20v10M27.5 20h2.5a5 5 0 0 1 0 10h-2.5" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>
|