@yozora/tokenizer-admonition 2.2.0 → 2.3.1
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 +228 -255
- package/README.md +211 -168
- package/lib/cjs/index.cjs +1 -0
- package/lib/esm/index.mjs +1 -0
- package/package.json +7 -12
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.
|
|
5
|
+
<a href="https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/admonition#readme">@yozora/tokenizer-admonition</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-admonition">
|
|
@@ -53,35 +53,34 @@
|
|
|
53
53
|
|
|
54
54
|
<!-- :end -->
|
|
55
55
|
|
|
56
|
-
[@yozora/tokenizer-admonition] produce [Admonition][node-type] type nodes.
|
|
57
|
-
|
|
56
|
+
[@yozora/tokenizer-admonition] produce [Admonition][node-type] type nodes. See
|
|
57
|
+
[documentation][docpage] for details.
|
|
58
58
|
|
|
59
59
|
<!-- :begin use tokenizer/usage -->
|
|
60
60
|
|
|
61
61
|
## Install
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
- npm
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
npm install --save @yozora/tokenizer-admonition
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
- yarn
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
72
|
yarn add @yozora/tokenizer-admonition
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
|
|
76
75
|
## Usage
|
|
77
76
|
|
|
78
|
-
[@yozora/tokenizer-admonition][] has been integrated into [@yozora/parser][],
|
|
79
|
-
|
|
77
|
+
[@yozora/tokenizer-admonition][] has been integrated into [@yozora/parser][], so you can use
|
|
78
|
+
`YozoraParser` directly.
|
|
80
79
|
|
|
81
80
|
### Basic Usage
|
|
82
81
|
|
|
83
|
-
[@yozora/tokenizer-admonition][] cannot be used alone, it needs to be
|
|
84
|
-
|
|
82
|
+
[@yozora/tokenizer-admonition][] cannot be used alone, it needs to be registered in _YastParser_ as
|
|
83
|
+
a plugin-in before it can be used.
|
|
85
84
|
|
|
86
85
|
```typescript {4,9}
|
|
87
86
|
import { DefaultParser } from '@yozora/core-parser'
|
|
@@ -161,19 +160,18 @@ waw
|
|
|
161
160
|
|
|
162
161
|
### Options
|
|
163
162
|
|
|
164
|
-
Name
|
|
165
|
-
|
|
166
|
-
`name`
|
|
167
|
-
`priority`
|
|
163
|
+
| Name | Type | Required | Default |
|
|
164
|
+
| :--------: | :------: | :------: | :------------------------------: |
|
|
165
|
+
| `name` | `string` | `false` | `"@yozora/tokenizer-admonition"` |
|
|
166
|
+
| `priority` | `number` | `false` | `TokenizerPriority.FENCED_BLOCK` |
|
|
168
167
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
- `name`: The unique name of the tokenizer, used to bind the token it generates, to determine the
|
|
169
|
+
tokenizer that should be called in each life cycle of the token in the entire _matching / parsing_
|
|
170
|
+
phase.
|
|
172
171
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
low-priority tokenizer.
|
|
172
|
+
- `priority`: Priority of the tokenizer, determine the order of processing, high priority priority
|
|
173
|
+
execution. interruptable. In addition, in the `match-block` stage, a high-priority tokenizer can
|
|
174
|
+
interrupt the matching process of a low-priority tokenizer.
|
|
177
175
|
|
|
178
176
|
<!-- :end -->
|
|
179
177
|
|
|
@@ -199,7 +197,7 @@ export interface Admonition extends Parent<'admonition'> {
|
|
|
199
197
|
|
|
200
198
|
### Output Example
|
|
201
199
|
|
|
202
|
-
|
|
200
|
+
- positions omitted:
|
|
203
201
|
|
|
204
202
|
```json
|
|
205
203
|
{
|
|
@@ -227,16 +225,15 @@ export interface Admonition extends Parent<'admonition'> {
|
|
|
227
225
|
|
|
228
226
|
## Related
|
|
229
227
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
* [Documentation][docpage]
|
|
228
|
+
- [@yozora/ast][]
|
|
229
|
+
- [@yozora/parser][]
|
|
230
|
+
- [@yozora/parser-gfm][]
|
|
231
|
+
- [@yozora/parser-gfm-ex][]
|
|
232
|
+
- [@yozora/react-admonition][]
|
|
233
|
+
- [@yozora/react-markdown][]
|
|
234
|
+
- [Live Examples][live-examples]
|
|
235
|
+
- [Admonition | Yozora AST][node-type]
|
|
236
|
+
- [Documentation][docpage]
|
|
240
237
|
|
|
241
238
|
[node-type]: http://yozora.guanghechen.com/docs/package/ast#admonition
|
|
242
239
|
|
|
@@ -244,143 +241,189 @@ export interface Admonition extends Parent<'admonition'> {
|
|
|
244
241
|
|
|
245
242
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition#live-examples
|
|
246
243
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
|
|
247
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.
|
|
244
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/admonition#readme
|
|
248
245
|
[gfm-spec]: https://github.github.com/gfm
|
|
249
246
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
250
|
-
|
|
251
|
-
[@yozora/ast]:
|
|
252
|
-
[@yozora/
|
|
253
|
-
[@yozora/
|
|
254
|
-
|
|
255
|
-
[@yozora/core-parser]:
|
|
256
|
-
[@yozora/core-tokenizer]:
|
|
257
|
-
|
|
258
|
-
[@yozora/
|
|
259
|
-
[@yozora/
|
|
260
|
-
|
|
261
|
-
[@yozora/parser
|
|
262
|
-
[@yozora/
|
|
263
|
-
[@yozora/
|
|
264
|
-
|
|
265
|
-
[@yozora/tokenizer
|
|
266
|
-
|
|
267
|
-
[@yozora/tokenizer-
|
|
268
|
-
|
|
269
|
-
[@yozora/tokenizer-
|
|
270
|
-
|
|
271
|
-
[@yozora/tokenizer-
|
|
272
|
-
|
|
273
|
-
[@yozora/tokenizer-
|
|
274
|
-
|
|
275
|
-
[@yozora/tokenizer-
|
|
276
|
-
[@yozora/tokenizer-
|
|
277
|
-
|
|
278
|
-
[@yozora/tokenizer-
|
|
279
|
-
[@yozora/tokenizer-
|
|
280
|
-
|
|
281
|
-
[@yozora/tokenizer-
|
|
282
|
-
|
|
283
|
-
[@yozora/tokenizer-
|
|
284
|
-
|
|
285
|
-
[@yozora/tokenizer-
|
|
286
|
-
|
|
287
|
-
[@yozora/tokenizer-
|
|
288
|
-
|
|
289
|
-
[@yozora/tokenizer-
|
|
290
|
-
|
|
291
|
-
[@yozora/tokenizer-
|
|
292
|
-
|
|
293
|
-
[@yozora/tokenizer-
|
|
294
|
-
|
|
295
|
-
[@yozora/
|
|
296
|
-
|
|
297
|
-
[@yozora/
|
|
298
|
-
|
|
299
|
-
[@yozora/
|
|
300
|
-
[@yozora/
|
|
301
|
-
|
|
302
|
-
[@yozora/
|
|
303
|
-
|
|
304
|
-
[@yozora/
|
|
305
|
-
|
|
306
|
-
[@yozora/
|
|
307
|
-
|
|
308
|
-
[@yozora/
|
|
309
|
-
[@yozora/
|
|
310
|
-
|
|
311
|
-
[@yozora/
|
|
312
|
-
[@yozora/
|
|
313
|
-
[@yozora/
|
|
314
|
-
|
|
315
|
-
[@yozora/
|
|
316
|
-
|
|
317
|
-
[@yozora/
|
|
318
|
-
|
|
319
|
-
[
|
|
320
|
-
|
|
321
|
-
[
|
|
322
|
-
|
|
323
|
-
[
|
|
324
|
-
|
|
325
|
-
[
|
|
326
|
-
[
|
|
327
|
-
[
|
|
328
|
-
|
|
329
|
-
[
|
|
330
|
-
[
|
|
331
|
-
|
|
332
|
-
[
|
|
333
|
-
|
|
334
|
-
[
|
|
335
|
-
|
|
336
|
-
[
|
|
337
|
-
[
|
|
338
|
-
[
|
|
339
|
-
|
|
340
|
-
[
|
|
341
|
-
|
|
342
|
-
[
|
|
343
|
-
[
|
|
344
|
-
[
|
|
345
|
-
|
|
346
|
-
[
|
|
347
|
-
|
|
348
|
-
[
|
|
349
|
-
[
|
|
350
|
-
|
|
351
|
-
[
|
|
352
|
-
[
|
|
353
|
-
[
|
|
354
|
-
[
|
|
355
|
-
|
|
356
|
-
[
|
|
357
|
-
[
|
|
358
|
-
[
|
|
359
|
-
[
|
|
360
|
-
[
|
|
361
|
-
[
|
|
362
|
-
[gfm
|
|
363
|
-
[gfm-
|
|
364
|
-
[
|
|
365
|
-
[
|
|
366
|
-
[
|
|
367
|
-
|
|
368
|
-
[
|
|
369
|
-
[
|
|
370
|
-
[
|
|
371
|
-
[
|
|
372
|
-
[
|
|
373
|
-
|
|
374
|
-
[
|
|
375
|
-
[
|
|
376
|
-
[
|
|
377
|
-
|
|
378
|
-
[
|
|
379
|
-
[
|
|
380
|
-
|
|
381
|
-
[
|
|
382
|
-
|
|
383
|
-
[
|
|
384
|
-
|
|
247
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast#readme
|
|
248
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast-util#readme
|
|
249
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/character#readme
|
|
250
|
+
[@yozora/eslint-config]:
|
|
251
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
252
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-parser#readme
|
|
253
|
+
[@yozora/core-tokenizer]:
|
|
254
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-tokenizer#readme
|
|
255
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/invariant#readme
|
|
256
|
+
[@yozora/jest-for-tokenizer]:
|
|
257
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
258
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser#readme
|
|
259
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm#readme
|
|
260
|
+
[@yozora/parser-gfm-ex]:
|
|
261
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm-ex#readme
|
|
262
|
+
[@yozora/template-tokenizer]:
|
|
263
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
264
|
+
[@yozora/tokenizer-admonition]:
|
|
265
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/admonition#readme
|
|
266
|
+
[@yozora/tokenizer-autolink]:
|
|
267
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink#readme
|
|
268
|
+
[@yozora/tokenizer-autolink-extension]:
|
|
269
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink-extension#readme
|
|
270
|
+
[@yozora/tokenizer-blockquote]:
|
|
271
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/blockquote#readme
|
|
272
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/break#readme
|
|
273
|
+
[@yozora/tokenizer-definition]:
|
|
274
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/definition#readme
|
|
275
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/delete#readme
|
|
276
|
+
[@yozora/tokenizer-ecma-import]:
|
|
277
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/ecma-import#readme
|
|
278
|
+
[@yozora/tokenizer-emphasis]:
|
|
279
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/emphasis#readme
|
|
280
|
+
[@yozora/tokenizer-fenced-block]:
|
|
281
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-block#readme
|
|
282
|
+
[@yozora/tokenizer-fenced-code]:
|
|
283
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-code#readme
|
|
284
|
+
[@yozora/tokenizer-footnote]:
|
|
285
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote#readme
|
|
286
|
+
[@yozora/tokenizer-footnote-definition]:
|
|
287
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-definition#readme
|
|
288
|
+
[@yozora/tokenizer-footnote-reference]:
|
|
289
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-reference#readme
|
|
290
|
+
[@yozora/tokenizer-heading]:
|
|
291
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/heading#readme
|
|
292
|
+
[@yozora/tokenizer-html-block]:
|
|
293
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-block#readme
|
|
294
|
+
[@yozora/tokenizer-html-inline]:
|
|
295
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-inline#readme
|
|
296
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image#readme
|
|
297
|
+
[@yozora/tokenizer-image-reference]:
|
|
298
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image-reference#readme
|
|
299
|
+
[@yozora/tokenizer-indented-code]:
|
|
300
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/indented-code#readme
|
|
301
|
+
[@yozora/tokenizer-inline-code]:
|
|
302
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-code#readme
|
|
303
|
+
[@yozora/tokenizer-inline-math]:
|
|
304
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-math#readme
|
|
305
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link#readme
|
|
306
|
+
[@yozora/tokenizer-link-reference]:
|
|
307
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link-reference#readme
|
|
308
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/list#readme
|
|
309
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/math#readme
|
|
310
|
+
[@yozora/tokenizer-paragraph]:
|
|
311
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/paragraph#readme
|
|
312
|
+
[@yozora/tokenizer-setext-heading]:
|
|
313
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/setext-heading#readme
|
|
314
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/table#readme
|
|
315
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/text#readme
|
|
316
|
+
[@yozora/tokenizer-thematic-break]:
|
|
317
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/thematic-break#readme
|
|
318
|
+
[@yozora/react-admonition]:
|
|
319
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
320
|
+
[@yozora/react-blockquote]:
|
|
321
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
|
|
322
|
+
[@yozora/react-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/break#readme
|
|
323
|
+
[@yozora/react-delete]: https://github.com/yozorajs/yozora-react/tree/main/packages/delete#readme
|
|
324
|
+
[@yozora/react-emphasis]:
|
|
325
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/emphasis#readme
|
|
326
|
+
[@yozora/react-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/code#readme
|
|
327
|
+
[@yozora/react-code-live]:
|
|
328
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/code-live#readme
|
|
329
|
+
[@yozora/react-footnote-definitions]:
|
|
330
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-definitions#readme
|
|
331
|
+
[@yozora/react-footnote-reference]:
|
|
332
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-reference#readme
|
|
333
|
+
[@yozora/react-heading]: https://github.com/yozorajs/yozora-react/tree/main/packages/heading#readme
|
|
334
|
+
[@yozora/react-image]: https://github.com/yozorajs/yozora-react/tree/main/packages/image#readme
|
|
335
|
+
[@yozora/react-inline-code]:
|
|
336
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-code#readme
|
|
337
|
+
[@yozora/react-inline-math]:
|
|
338
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-math#readme
|
|
339
|
+
[@yozora/react-link]: https://github.com/yozorajs/yozora-react/tree/main/packages/link#readme
|
|
340
|
+
[@yozora/react-list]: https://github.com/yozorajs/yozora-react/tree/main/packages/list#readme
|
|
341
|
+
[@yozora/react-list-item]:
|
|
342
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/list-item#readme
|
|
343
|
+
[@yozora/react-markdown]:
|
|
344
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/markdown#readme
|
|
345
|
+
[@yozora/react-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/math#readme
|
|
346
|
+
[@yozora/react-paragraph]:
|
|
347
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/paragraph#readme
|
|
348
|
+
[@yozora/react-strong]: https://github.com/yozorajs/yozora-react/tree/main/packages/strong#readme
|
|
349
|
+
[@yozora/react-table]: https://github.com/yozorajs/yozora-react/tree/main/packages/table#readme
|
|
350
|
+
[@yozora/react-text]: https://github.com/yozorajs/yozora-react/tree/main/packages/text#readme
|
|
351
|
+
[@yozora/react-thematic-break]:
|
|
352
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/thematic-break#readme
|
|
353
|
+
[doc-live-examples/gfm]: https://yozora.guanghechen.com/docs/example/gfm
|
|
354
|
+
[doc-@yozora/ast]: https://yozora.guanghechen.com/docs/package/ast
|
|
355
|
+
[doc-@yozora/ast-util]: https://yozora.guanghechen.com/docs/package/ast-util
|
|
356
|
+
[doc-@yozora/core-parser]: https://yozora.guanghechen.com/docs/package/core-parser
|
|
357
|
+
[doc-@yozora/core-tokenizer]: https://yozora.guanghechen.com/docs/package/core-tokenizer
|
|
358
|
+
[doc-@yozora/parser]: https://yozora.guanghechen.com/docs/package/parser
|
|
359
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
360
|
+
[doc-@yozora/parser-gfm-ex]: https://yozora.guanghechen.com/docs/package/parser-gfm-ex
|
|
361
|
+
[doc-@yozora/tokenizer-admonition]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
|
|
362
|
+
[doc-@yozora/tokenizer-autolink]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink
|
|
363
|
+
[doc-@yozora/tokenizer-autolink-extension]:
|
|
364
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-autolink-extension
|
|
365
|
+
[doc-@yozora/tokenizer-blockquote]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
|
|
366
|
+
[doc-@yozora/tokenizer-break]: https://yozora.guanghechen.com/docs/package/tokenizer-break
|
|
367
|
+
[doc-@yozora/tokenizer-delete]: https://yozora.guanghechen.com/docs/package/tokenizer-delete
|
|
368
|
+
[doc-@yozora/tokenizer-emphasis]: https://yozora.guanghechen.com/docs/package/tokenizer-emphasis
|
|
369
|
+
[doc-@yozora/tokenizer-fenced-code]:
|
|
370
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-fenced-code
|
|
371
|
+
[doc-@yozora/tokenizer-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-heading
|
|
372
|
+
[doc-@yozora/tokenizer-html-block]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
|
|
373
|
+
[doc-@yozora/tokenizer-html-inline]:
|
|
374
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
|
|
375
|
+
[doc-@yozora/tokenizer-image]: https://yozora.guanghechen.com/docs/package/tokenizer-image
|
|
376
|
+
[doc-@yozora/tokenizer-image-reference]:
|
|
377
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-image-reference
|
|
378
|
+
[doc-@yozora/tokenizer-indented-code]:
|
|
379
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-indented-code
|
|
380
|
+
[doc-@yozora/tokenizer-inline-code]:
|
|
381
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-code
|
|
382
|
+
[doc-@yozora/tokenizer-inline-math]:
|
|
383
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
|
|
384
|
+
[doc-@yozora/tokenizer-link]: https://yozora.guanghechen.com/docs/package/tokenizer-link
|
|
385
|
+
[doc-@yozora/tokenizer-definition]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
|
|
386
|
+
[doc-@yozora/tokenizer-link-reference]:
|
|
387
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-link-reference
|
|
388
|
+
[doc-@yozora/tokenizer-list]: https://yozora.guanghechen.com/docs/package/tokenizer-list
|
|
389
|
+
[doc-@yozora/tokenizer-math]: https://yozora.guanghechen.com/docs/package/tokenizer-math
|
|
390
|
+
[doc-@yozora/tokenizer-paragraph]: https://yozora.guanghechen.com/docs/package/tokenizer-paragraph
|
|
391
|
+
[doc-@yozora/tokenizer-setext-heading]:
|
|
392
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-setext-heading
|
|
393
|
+
[doc-@yozora/tokenizer-table]: https://yozora.guanghechen.com/docs/package/tokenizer-table
|
|
394
|
+
[doc-@yozora/tokenizer-text]: https://yozora.guanghechen.com/docs/package/tokenizer-text
|
|
395
|
+
[doc-@yozora/tokenizer-thematic-break]:
|
|
396
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
|
|
397
|
+
[doc-@yozora/jest-for-tokenizer]: https://yozora.guanghechen.com/docs/package/jest-for-tokenizer
|
|
398
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
399
|
+
[gfm-atx-heading]: https://github.github.com/gfm/#atx-heading
|
|
400
|
+
[gfm-autolink]: https://github.github.com/gfm/#autolinks
|
|
401
|
+
[gfm-autolink-extension]: https://github.github.com/gfm/#autolinks-extension-
|
|
402
|
+
[gfm-blockquote]: https://github.github.com/gfm/#block-quotes
|
|
403
|
+
[gfm-bullet-list]: https://github.github.com/gfm/#bullet-list
|
|
404
|
+
[gfm-delete]: https://github.github.com/gfm/#strikethrough-extension-
|
|
405
|
+
[gfm-emphasis]: https://github.github.com/gfm/#can-open-emphasis
|
|
406
|
+
[gfm-fenced-code]: https://github.github.com/gfm/#fenced-code-block
|
|
407
|
+
[gfm-hard-line-break]: https://github.github.com/gfm/#hard-line-break
|
|
408
|
+
[gfm-html-block]: https://github.github.com/gfm/#html-block
|
|
409
|
+
[gfm-html-inline]: https://github.github.com/gfm/#raw-html
|
|
410
|
+
[gfm-image]: https://github.github.com/gfm/#images
|
|
411
|
+
[gfm-image-reference]: https://github.github.com/gfm/#example-590
|
|
412
|
+
[gfm-indented-code]: https://github.github.com/gfm/#indented-code-block
|
|
413
|
+
[gfm-inline-code]: https://github.github.com/gfm/#code-span
|
|
414
|
+
[gfm-link]: https://github.github.com/gfm/#inline-link
|
|
415
|
+
[gfm-definition]: https://github.github.com/gfm/#link-reference-definition
|
|
416
|
+
[gfm-link-reference]: https://github.github.com/gfm/#reference-link
|
|
417
|
+
[gfm-list]: https://github.github.com/gfm/#lists
|
|
418
|
+
[gfm-list-item]: https://github.github.com/gfm/#list-items
|
|
419
|
+
[gfm-list-task-item]: https://github.github.com/gfm/#task-list-items-extension-
|
|
420
|
+
[gfm-paragraph]: https://github.github.com/gfm/#paragraph
|
|
421
|
+
[gfm-setext-heading]: https://github.github.com/gfm/#setext-heading
|
|
422
|
+
[gfm-soft-line-break]: https://github.github.com/gfm/#soft-line-breaks
|
|
423
|
+
[gfm-strong]: https://github.github.com/gfm/#can-open-strong-emphasis
|
|
424
|
+
[gfm-tab]: https://github.github.com/gfm/#tabs
|
|
425
|
+
[gfm-table]: https://github.github.com/gfm/#table
|
|
426
|
+
[gfm-text]: https://github.github.com/gfm/#soft-line-breaks
|
|
427
|
+
[gfm-thematic-break]: https://github.github.com/gfm/#thematic-break
|
|
385
428
|
|
|
386
429
|
<!-- :end -->
|
package/lib/cjs/index.cjs
CHANGED
package/lib/esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-admonition",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Tokenizer for processing admonitions",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "guanghechen",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"url": "https://github.com/yozorajs/yozora.git",
|
|
12
12
|
"directory": "tokenizers/admonition"
|
|
13
13
|
},
|
|
14
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.
|
|
14
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.0/tokenizers/admonition",
|
|
15
15
|
"keywords": [
|
|
16
16
|
"yozora",
|
|
17
17
|
"markdown",
|
|
@@ -40,16 +40,11 @@
|
|
|
40
40
|
"LICENSE",
|
|
41
41
|
"README.md"
|
|
42
42
|
],
|
|
43
|
-
"scripts": {
|
|
44
|
-
"build": "rimraf lib/ && cross-env NODE_ENV=production rollup -c ../../rollup.config.mjs",
|
|
45
|
-
"prepublishOnly": "cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build",
|
|
46
|
-
"test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
|
|
47
|
-
},
|
|
48
43
|
"dependencies": {
|
|
49
|
-
"@yozora/ast": "^2.
|
|
50
|
-
"@yozora/character": "^2.
|
|
51
|
-
"@yozora/core-tokenizer": "^2.
|
|
52
|
-
"@yozora/tokenizer-fenced-block": "^2.
|
|
44
|
+
"@yozora/ast": "^2.3.1",
|
|
45
|
+
"@yozora/character": "^2.3.1",
|
|
46
|
+
"@yozora/core-tokenizer": "^2.3.1",
|
|
47
|
+
"@yozora/tokenizer-fenced-block": "^2.3.1"
|
|
53
48
|
},
|
|
54
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "eaea7c3649e7e7886a1c3a85125b8c6268fdab20"
|
|
55
50
|
}
|