@yozora/tokenizer-html-block 2.3.12 → 2.3.14
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/CHANGELOG.md +25 -19
- package/README.md +42 -47
- package/lib/types/index.d.ts +2 -1
- package/package.json +13 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## <small>2.3.12 (2025-02-26)</small>
|
|
7
|
-
|
|
8
|
-
* :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
|
|
9
|
-
* :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
|
|
10
|
-
* :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
|
|
11
|
-
* :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
|
|
12
|
-
* fix(math): should handle the eatAndInterruptPreviousSibling manually ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
|
|
13
|
-
* chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
14
|
-
|
|
3
|
+
## 2.3.14
|
|
15
4
|
|
|
5
|
+
### Patch Changes
|
|
16
6
|
|
|
7
|
+
- Patch release for all public packages: align monorepo tooling with pnpm + changesets, update
|
|
8
|
+
package metadata and docs, and include test and configuration improvements for release
|
|
9
|
+
consistency.
|
|
10
|
+
- Updated dependencies:
|
|
11
|
+
- @yozora/ast@2.3.14
|
|
12
|
+
- @yozora/character@2.3.14
|
|
13
|
+
- @yozora/core-tokenizer@2.3.14
|
|
17
14
|
|
|
15
|
+
All notable changes to this project will be documented in this file. See
|
|
16
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
17
|
|
|
19
|
-
## <small>2.3.
|
|
18
|
+
## <small>2.3.13 (2025-11-30)</small>
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
**Note:** Version bump only for package @yozora/tokenizer-html-block
|
|
22
21
|
|
|
22
|
+
## <small>2.3.12 (2025-02-26)</small>
|
|
23
23
|
|
|
24
|
+
- :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
|
|
25
|
+
- :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
|
|
26
|
+
- :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
|
|
27
|
+
- :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
|
|
28
|
+
- fix(math): should handle the eatAndInterruptPreviousSibling manually
|
|
29
|
+
([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
|
|
30
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
24
31
|
|
|
32
|
+
## <small>2.3.11 (2025-01-13)</small>
|
|
25
33
|
|
|
34
|
+
- fix(math): should handle the eatAndInterruptPreviousSibling manually
|
|
35
|
+
([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
|
|
26
36
|
|
|
27
37
|
## <small>2.3.10 (2025-01-09)</small>
|
|
28
38
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
34
40
|
|
|
35
41
|
# Change Log
|
|
36
42
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<header>
|
|
4
4
|
<h1 align="center">
|
|
5
|
-
<a href="https://github.com/yozorajs/yozora/tree/v2.3.
|
|
5
|
+
<a href="https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#readme">@yozora/tokenizer-html-block</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-html-block">
|
|
@@ -66,11 +66,6 @@ for details.
|
|
|
66
66
|
npm install --save @yozora/tokenizer-html-block
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
- yarn
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
yarn add @yozora/tokenizer-html-block
|
|
73
|
-
```
|
|
74
69
|
|
|
75
70
|
## Usage
|
|
76
71
|
|
|
@@ -197,80 +192,80 @@ okay
|
|
|
197
192
|
|
|
198
193
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block#live-examples
|
|
199
194
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
|
|
200
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
195
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#readme
|
|
201
196
|
[gfm-spec]: https://github.github.com/gfm
|
|
202
197
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
203
|
-
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
204
|
-
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
205
|
-
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
198
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast#readme
|
|
199
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast-util#readme
|
|
200
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/character#readme
|
|
206
201
|
[@yozora/eslint-config]:
|
|
207
202
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
208
|
-
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
203
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-parser#readme
|
|
209
204
|
[@yozora/core-tokenizer]:
|
|
210
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
211
|
-
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
205
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-tokenizer#readme
|
|
206
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/invariant#readme
|
|
212
207
|
[@yozora/jest-for-tokenizer]:
|
|
213
208
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
214
|
-
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
215
|
-
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
209
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser#readme
|
|
210
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm#readme
|
|
216
211
|
[@yozora/parser-gfm-ex]:
|
|
217
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
212
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm-ex#readme
|
|
218
213
|
[@yozora/template-tokenizer]:
|
|
219
214
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
220
215
|
[@yozora/tokenizer-admonition]:
|
|
221
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
216
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/admonition#readme
|
|
222
217
|
[@yozora/tokenizer-autolink]:
|
|
223
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
218
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink#readme
|
|
224
219
|
[@yozora/tokenizer-autolink-extension]:
|
|
225
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
220
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink-extension#readme
|
|
226
221
|
[@yozora/tokenizer-blockquote]:
|
|
227
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
228
|
-
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
222
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/blockquote#readme
|
|
223
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/break#readme
|
|
229
224
|
[@yozora/tokenizer-definition]:
|
|
230
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
231
|
-
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
225
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/definition#readme
|
|
226
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/delete#readme
|
|
232
227
|
[@yozora/tokenizer-ecma-import]:
|
|
233
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
228
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/ecma-import#readme
|
|
234
229
|
[@yozora/tokenizer-emphasis]:
|
|
235
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
230
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/emphasis#readme
|
|
236
231
|
[@yozora/tokenizer-fenced-block]:
|
|
237
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
232
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-block#readme
|
|
238
233
|
[@yozora/tokenizer-fenced-code]:
|
|
239
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
234
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-code#readme
|
|
240
235
|
[@yozora/tokenizer-footnote]:
|
|
241
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote#readme
|
|
242
237
|
[@yozora/tokenizer-footnote-definition]:
|
|
243
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
238
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-definition#readme
|
|
244
239
|
[@yozora/tokenizer-footnote-reference]:
|
|
245
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
240
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-reference#readme
|
|
246
241
|
[@yozora/tokenizer-heading]:
|
|
247
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
242
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/heading#readme
|
|
248
243
|
[@yozora/tokenizer-html-block]:
|
|
249
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
244
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#readme
|
|
250
245
|
[@yozora/tokenizer-html-inline]:
|
|
251
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
252
|
-
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
246
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-inline#readme
|
|
247
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image#readme
|
|
253
248
|
[@yozora/tokenizer-image-reference]:
|
|
254
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
249
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image-reference#readme
|
|
255
250
|
[@yozora/tokenizer-indented-code]:
|
|
256
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
251
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/indented-code#readme
|
|
257
252
|
[@yozora/tokenizer-inline-code]:
|
|
258
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
253
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-code#readme
|
|
259
254
|
[@yozora/tokenizer-inline-math]:
|
|
260
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
261
|
-
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
255
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-math#readme
|
|
256
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link#readme
|
|
262
257
|
[@yozora/tokenizer-link-reference]:
|
|
263
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
264
|
-
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
265
|
-
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
258
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link-reference#readme
|
|
259
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/list#readme
|
|
260
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/math#readme
|
|
266
261
|
[@yozora/tokenizer-paragraph]:
|
|
267
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
262
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/paragraph#readme
|
|
268
263
|
[@yozora/tokenizer-setext-heading]:
|
|
269
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
270
|
-
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
271
|
-
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
264
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/setext-heading#readme
|
|
265
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/table#readme
|
|
266
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/text#readme
|
|
272
267
|
[@yozora/tokenizer-thematic-break]:
|
|
273
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
268
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/thematic-break#readme
|
|
274
269
|
[@yozora/react-admonition]:
|
|
275
270
|
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
276
271
|
[@yozora/react-blockquote]:
|
package/lib/types/index.d.ts
CHANGED
|
@@ -122,4 +122,5 @@ declare class HtmlBlockTokenizer extends BaseBlockTokenizer<T, IToken, INode, IT
|
|
|
122
122
|
readonly parse: IParseBlockHookCreator<T, IToken, INode, IThis>;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
export { HtmlBlockTokenizer, uniqueName as HtmlBlockTokenizerName,
|
|
125
|
+
export { HtmlBlockTokenizer, uniqueName as HtmlBlockTokenizerName, HtmlBlockTokenizer as default, eatHTMLAttribute, eatHTMLTagName, match as htmlBlockMatch, parse as htmlBlockParse };
|
|
126
|
+
export type { IThis as IHtmlBlockHookContext, IToken as IHtmlBlockToken, ITokenizerProps as IHtmlBlockTokenizerProps, RawHTMLAttribute };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-html-block",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.14",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "guanghechen",
|
|
6
6
|
"url": "https://github.com/guanghechen/"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/yozorajs/yozora.git",
|
|
11
11
|
"directory": "tokenizers/html-block"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#readme",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
"types": "./lib/types/index.d.ts",
|
|
@@ -22,9 +22,6 @@
|
|
|
22
22
|
"main": "./lib/cjs/index.cjs",
|
|
23
23
|
"module": "./lib/esm/index.mjs",
|
|
24
24
|
"license": "MIT",
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">= 16.0.0"
|
|
27
|
-
},
|
|
28
25
|
"files": [
|
|
29
26
|
"lib/",
|
|
30
27
|
"!lib/**/*.map",
|
|
@@ -34,9 +31,15 @@
|
|
|
34
31
|
"README.md"
|
|
35
32
|
],
|
|
36
33
|
"dependencies": {
|
|
37
|
-
"@yozora/ast": "^2.3.
|
|
38
|
-
"@yozora/character": "^2.3.
|
|
39
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
34
|
+
"@yozora/ast": "^2.3.14",
|
|
35
|
+
"@yozora/character": "^2.3.14",
|
|
36
|
+
"@yozora/core-tokenizer": "^2.3.14"
|
|
40
37
|
},
|
|
41
|
-
"
|
|
42
|
-
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "rollup -c ../../rollup.config.mjs",
|
|
40
|
+
"clean": "rimraf lib",
|
|
41
|
+
"test": "vitest run --config ../../vitest.config.ts",
|
|
42
|
+
"test:coverage": "vitest run --config ../../vitest.config.ts --coverage",
|
|
43
|
+
"test:update": "vitest run --config ../../vitest.config.ts -u"
|
|
44
|
+
}
|
|
45
|
+
}
|