@b4moss/hyogen-md 0.10.0 → 0.11.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.md +22 -14
- package/README_ja.md +22 -14
- package/dist/client.js +473 -469
- package/dist/index.d.ts +14 -0
- package/dist/index.js +477 -332
- package/package.json +11 -8
package/README.md
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
[](https://github.com/b4moss/hyogen-md/actions/workflows/ci.yml)
|
|
6
|
+
[](https://codecov.io/gh/b4moss/hyogen-md)
|
|
7
|
+
[](https://www.npmjs.com/package/@b4moss/hyogen-md)
|
|
8
|
+
[](https://github.com/b4moss/hyogen-md/releases)
|
|
9
|
+
[](https://github.com/b4moss/hyogen-md/blob/main/LICENSE)
|
|
10
|
+
[](https://scorecard.dev/viewer/?uri=github.com/b4moss/hyogen-md)
|
|
9
11
|
|
|
10
12
|
Extended Markdown template engine for TypeScript / JavaScript.
|
|
11
13
|
|
|
@@ -16,7 +18,9 @@ Control flow and templating live in HTML comments (`@hg` … `@endhg` or `@@`
|
|
|
16
18
|
- **License:** MIT
|
|
17
19
|
- **Japanese README:** [README_ja.md](./README_ja.md)
|
|
18
20
|
- **Changelog:** [user-docs/changelog.md](https://github.com/b4m-oss/hyogen-md/blob/develop/user-docs/changelog.md)
|
|
19
|
-
- **
|
|
21
|
+
- **Documentation:** [https://hyogenmd.oss.b4m.jp](https://hyogenmd.oss.b4m.jp) (Nuxt Content; not in npm)
|
|
22
|
+
- **Playground:** [https://hyogenmd.oss.b4m.jp/playground](https://hyogenmd.oss.b4m.jp/playground) (same site; not in npm)
|
|
23
|
+
- **Specs (Japanese, maintainers):** [docs/](https://github.com/b4m-oss/hyogen-md/tree/develop/docs)
|
|
20
24
|
|
|
21
25
|
> **Homepage:** [https://github.com/b4m-oss/hyogen-md](https://github.com/b4m-oss/hyogen-md)
|
|
22
26
|
|
|
@@ -30,7 +34,7 @@ This file is kept **in sync** at the repository root and at `app/README.md` (npm
|
|
|
30
34
|
npm install @b4moss/hyogen-md
|
|
31
35
|
```
|
|
32
36
|
|
|
33
|
-
Requires **Node.js >=
|
|
37
|
+
Requires **Node.js >= 24**.
|
|
34
38
|
|
|
35
39
|
---
|
|
36
40
|
|
|
@@ -83,7 +87,7 @@ const { files, warnings } = await build({
|
|
|
83
87
|
});
|
|
84
88
|
```
|
|
85
89
|
|
|
86
|
-
API details: [
|
|
90
|
+
API details: [docs/specs/api.md](https://github.com/b4m-oss/hyogen-md/blob/develop/docs/specs/api.md).
|
|
87
91
|
|
|
88
92
|
---
|
|
89
93
|
|
|
@@ -92,19 +96,23 @@ API details: [dev-docs/specs/api.md](https://github.com/b4m-oss/hyogen-md/blob/d
|
|
|
92
96
|
| Path | Role |
|
|
93
97
|
|------|------|
|
|
94
98
|
| `app/` | Library published to npm (`files`: `dist`, plus README / LICENSE) |
|
|
95
|
-
| `
|
|
99
|
+
| `docs-site/` | Documentation site + Playground on [GitHub Pages](https://hyogenmd.oss.b4m.jp) (**not** in npm) |
|
|
96
100
|
| `user-docs/` | User-facing docs (e.g. [changelog](https://github.com/b4m-oss/hyogen-md/blob/develop/user-docs/changelog.md)) |
|
|
97
|
-
| `
|
|
101
|
+
| `docs/` | Specs and roadmap (**Japanese**, maintainers) |
|
|
98
102
|
|
|
99
|
-
###
|
|
103
|
+
### Documentation & Playground
|
|
104
|
+
|
|
105
|
+
**Site:** **[https://hyogenmd.oss.b4m.jp](https://hyogenmd.oss.b4m.jp)** (GitHub Pages; `/ja`, `/en`, `/playground`).
|
|
106
|
+
**Playground:** **[https://hyogenmd.oss.b4m.jp/playground](https://hyogenmd.oss.b4m.jp/playground)**
|
|
107
|
+
|
|
108
|
+
Local:
|
|
100
109
|
|
|
101
110
|
```bash
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
npm run dev
|
|
111
|
+
make install-docs
|
|
112
|
+
make dev-docs
|
|
105
113
|
```
|
|
106
114
|
|
|
107
|
-
Uses `../app` via Vite alias. Virtual FS + `localStorage` only
|
|
115
|
+
Open `http://localhost:3000` (docs) and `/playground`. Uses `../app` via Vite alias. Virtual FS + `localStorage` only.
|
|
108
116
|
|
|
109
117
|
---
|
|
110
118
|
|
package/README_ja.md
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
[](https://github.com/b4moss/hyogen-md/actions/workflows/ci.yml)
|
|
6
|
+
[](https://codecov.io/gh/b4moss/hyogen-md)
|
|
7
|
+
[](https://www.npmjs.com/package/@b4moss/hyogen-md)
|
|
8
|
+
[](https://github.com/b4moss/hyogen-md/releases)
|
|
9
|
+
[](https://github.com/b4moss/hyogen-md/blob/main/LICENSE)
|
|
10
|
+
[](https://scorecard.dev/viewer/?uri=github.com/b4moss/hyogen-md)
|
|
9
11
|
|
|
10
12
|
TypeScript / JavaScript 向けの拡張 Markdown テンプレートエンジンです。
|
|
11
13
|
|
|
@@ -16,7 +18,9 @@ TypeScript / JavaScript 向けの拡張 Markdown テンプレートエンジン
|
|
|
16
18
|
- **ライセンス:** MIT
|
|
17
19
|
- **English README:** [README.md](./README.md)
|
|
18
20
|
- **Changelog:** [user-docs/changelog_ja.md](https://github.com/b4m-oss/hyogen-md/blob/develop/user-docs/changelog_ja.md)
|
|
19
|
-
-
|
|
21
|
+
- **ドキュメントサイト:** [https://hyogenmd.oss.b4m.jp](https://hyogenmd.oss.b4m.jp)(Nuxt Content。npm 非同梱)
|
|
22
|
+
- **Playground:** [https://hyogenmd.oss.b4m.jp/playground](https://hyogenmd.oss.b4m.jp/playground)(同一サイト。npm 非同梱)
|
|
23
|
+
- **仕様(日本語・メンテナー向け):** [docs/](https://github.com/b4m-oss/hyogen-md/tree/develop/docs)
|
|
20
24
|
|
|
21
25
|
> **Homepage:** [https://github.com/b4m-oss/hyogen-md](https://github.com/b4m-oss/hyogen-md)
|
|
22
26
|
|
|
@@ -30,7 +34,7 @@ TypeScript / JavaScript 向けの拡張 Markdown テンプレートエンジン
|
|
|
30
34
|
npm install @b4moss/hyogen-md
|
|
31
35
|
```
|
|
32
36
|
|
|
33
|
-
**Node.js >=
|
|
37
|
+
**Node.js >= 24** が必要です。
|
|
34
38
|
|
|
35
39
|
---
|
|
36
40
|
|
|
@@ -83,7 +87,7 @@ const { files, warnings } = await build({
|
|
|
83
87
|
});
|
|
84
88
|
```
|
|
85
89
|
|
|
86
|
-
API の詳細: [
|
|
90
|
+
API の詳細: [docs/specs/api.md](https://github.com/b4m-oss/hyogen-md/blob/develop/docs/specs/api.md)。
|
|
87
91
|
|
|
88
92
|
---
|
|
89
93
|
|
|
@@ -92,19 +96,23 @@ API の詳細: [dev-docs/specs/api.md](https://github.com/b4m-oss/hyogen-md/blob
|
|
|
92
96
|
| パス | 役割 |
|
|
93
97
|
|------|------|
|
|
94
98
|
| `app/` | npm 公開するライブラリ(`dist` + README / LICENSE) |
|
|
95
|
-
| `
|
|
99
|
+
| `docs-site/` | [GitHub Pages](https://hyogenmd.oss.b4m.jp) 上のドキュメントサイト + Playground(**npm 非同梱**) |
|
|
96
100
|
| `user-docs/` | 利用者向けドキュメント(例: [changelog](https://github.com/b4m-oss/hyogen-md/blob/develop/user-docs/changelog_ja.md)) |
|
|
97
|
-
| `
|
|
101
|
+
| `docs/` | 仕様・ロードマップ(**日本語**・メンテナー向け) |
|
|
98
102
|
|
|
99
|
-
###
|
|
103
|
+
### ドキュメントサイト & Playground
|
|
104
|
+
|
|
105
|
+
**サイト:** **[https://hyogenmd.oss.b4m.jp](https://hyogenmd.oss.b4m.jp)**(GitHub Pages。`/ja`・`/en`・`/playground`)
|
|
106
|
+
**Playground:** **[https://hyogenmd.oss.b4m.jp/playground](https://hyogenmd.oss.b4m.jp/playground)**
|
|
107
|
+
|
|
108
|
+
ローカル:
|
|
100
109
|
|
|
101
110
|
```bash
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
npm run dev
|
|
111
|
+
make install-docs
|
|
112
|
+
make dev-docs
|
|
105
113
|
```
|
|
106
114
|
|
|
107
|
-
Vite alias で `../app`
|
|
115
|
+
`http://localhost:3000`(ドキュメント)と `/playground`。Vite alias で `../app` を参照。仮想 FS + `localStorage` のみ。
|
|
108
116
|
|
|
109
117
|
---
|
|
110
118
|
|