@yozora/tokenizer-break 2.3.0 → 2.3.2
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 +299 -324
- package/README.md +211 -171
- package/lib/cjs/index.cjs +1 -0
- package/lib/esm/index.mjs +1 -0
- package/package.json +6 -11
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.2/tokenizers/break#readme">@yozora/tokenizer-break</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-break">
|
|
@@ -53,35 +53,34 @@
|
|
|
53
53
|
|
|
54
54
|
<!-- :end -->
|
|
55
55
|
|
|
56
|
-
[@yozora/tokenizer-break] produce [Break][node-type] type nodes.
|
|
57
|
-
|
|
56
|
+
[@yozora/tokenizer-break] produce [Break][node-type] type nodes. See [documentation][docpage] for
|
|
57
|
+
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-break
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
- yarn
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
72
|
yarn add @yozora/tokenizer-break
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
|
|
76
75
|
## Usage
|
|
77
76
|
|
|
78
|
-
[@yozora/tokenizer-break][] has been integrated into [@yozora/parser][] / [@yozora/parser-gfm-ex][]
|
|
79
|
-
so you can use `YozoraParser` / `GfmExParser` / `GfmParser` directly.
|
|
77
|
+
[@yozora/tokenizer-break][] has been integrated into [@yozora/parser][] / [@yozora/parser-gfm-ex][]
|
|
78
|
+
/ [@yozora/parser-gfm][], so you can use `YozoraParser` / `GfmExParser` / `GfmParser` directly.
|
|
80
79
|
|
|
81
80
|
### Basic Usage
|
|
82
81
|
|
|
83
|
-
[@yozora/tokenizer-break][] cannot be used alone, it needs to be
|
|
84
|
-
|
|
82
|
+
[@yozora/tokenizer-break][] cannot be used alone, it needs to be registered in _YastParser_ as a
|
|
83
|
+
plugin-in before it can be used.
|
|
85
84
|
|
|
86
85
|
```typescript {4,9}
|
|
87
86
|
import { DefaultParser } from '@yozora/core-parser'
|
|
@@ -169,39 +168,34 @@ baz
|
|
|
169
168
|
|
|
170
169
|
### Options
|
|
171
170
|
|
|
172
|
-
Name
|
|
173
|
-
|
|
174
|
-
`name`
|
|
175
|
-
`priority`
|
|
176
|
-
|
|
177
|
-
* `name`: The unique name of the tokenizer, used to bind the token it generates,
|
|
178
|
-
to determine the tokenizer that should be called in each life cycle of the
|
|
179
|
-
token in the entire *matching / parsing* phase.
|
|
180
|
-
|
|
181
|
-
* `priority`: Priority of the tokenizer, determine the order of processing,
|
|
182
|
-
high priority priority execution. interruptable. In addition, in the `match-block`
|
|
183
|
-
stage, a high-priority tokenizer can interrupt the matching process of a
|
|
184
|
-
low-priority tokenizer.
|
|
171
|
+
| Name | Type | Required | Default |
|
|
172
|
+
| :--------: | :------: | :------: | :-------------------------: |
|
|
173
|
+
| `name` | `string` | `false` | `"@yozora/tokenizer-break"` |
|
|
174
|
+
| `priority` | `number` | `false` | `TokenizerPriority.ATOMIC` |
|
|
185
175
|
|
|
186
|
-
|
|
187
|
-
|
|
176
|
+
- `name`: The unique name of the tokenizer, used to bind the token it generates, to determine the
|
|
177
|
+
tokenizer that should be called in each life cycle of the token in the entire _matching / parsing_
|
|
178
|
+
phase.
|
|
188
179
|
|
|
180
|
+
- `priority`: Priority of the tokenizer, determine the order of processing, high priority priority
|
|
181
|
+
execution. interruptable. In addition, in the `match-block` stage, a high-priority tokenizer can
|
|
182
|
+
interrupt the matching process of a low-priority tokenizer.
|
|
189
183
|
|
|
184
|
+
**Exception:** Delimiters of type `full` are always processed before other type delimiters.
|
|
190
185
|
|
|
191
186
|
<!-- :end -->
|
|
192
187
|
|
|
193
188
|
## Related
|
|
194
189
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
* [Documentation][docpage]
|
|
190
|
+
- [@yozora/ast][]
|
|
191
|
+
- [@yozora/parser][]
|
|
192
|
+
- [@yozora/parser-gfm][]
|
|
193
|
+
- [@yozora/parser-gfm-ex][]
|
|
194
|
+
- [@yozora/react-break][]
|
|
195
|
+
- [@yozora/react-markdown][]
|
|
196
|
+
- [Live Examples][live-examples]
|
|
197
|
+
- [Break | Yozora AST][node-type]
|
|
198
|
+
- [Documentation][docpage]
|
|
205
199
|
|
|
206
200
|
[node-type]: http://yozora.guanghechen.com/docs/package/ast#break
|
|
207
201
|
|
|
@@ -209,143 +203,189 @@ Name | Type | Required | Default
|
|
|
209
203
|
|
|
210
204
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-break#live-examples
|
|
211
205
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-break
|
|
212
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
206
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/break#readme
|
|
213
207
|
[gfm-spec]: https://github.github.com/gfm
|
|
214
208
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
215
|
-
|
|
216
|
-
[@yozora/ast]:
|
|
217
|
-
[@yozora/
|
|
218
|
-
[@yozora/
|
|
219
|
-
|
|
220
|
-
[@yozora/core-parser]:
|
|
221
|
-
[@yozora/core-tokenizer]:
|
|
222
|
-
|
|
223
|
-
[@yozora/
|
|
224
|
-
[@yozora/
|
|
225
|
-
|
|
226
|
-
[@yozora/parser
|
|
227
|
-
[@yozora/
|
|
228
|
-
[@yozora/
|
|
229
|
-
|
|
230
|
-
[@yozora/tokenizer
|
|
231
|
-
|
|
232
|
-
[@yozora/tokenizer-
|
|
233
|
-
|
|
234
|
-
[@yozora/tokenizer-
|
|
235
|
-
|
|
236
|
-
[@yozora/tokenizer-
|
|
237
|
-
|
|
238
|
-
[@yozora/tokenizer-
|
|
239
|
-
|
|
240
|
-
[@yozora/tokenizer-
|
|
241
|
-
[@yozora/tokenizer-
|
|
242
|
-
|
|
243
|
-
[@yozora/tokenizer-
|
|
244
|
-
[@yozora/tokenizer-
|
|
245
|
-
|
|
246
|
-
[@yozora/tokenizer-
|
|
247
|
-
|
|
248
|
-
[@yozora/tokenizer-
|
|
249
|
-
|
|
250
|
-
[@yozora/tokenizer-
|
|
251
|
-
|
|
252
|
-
[@yozora/tokenizer-
|
|
253
|
-
|
|
254
|
-
[@yozora/tokenizer-
|
|
255
|
-
|
|
256
|
-
[@yozora/tokenizer-
|
|
257
|
-
|
|
258
|
-
[@yozora/tokenizer-
|
|
259
|
-
|
|
260
|
-
[@yozora/
|
|
261
|
-
|
|
262
|
-
[@yozora/
|
|
263
|
-
|
|
264
|
-
[@yozora/
|
|
265
|
-
[@yozora/
|
|
266
|
-
|
|
267
|
-
[@yozora/
|
|
268
|
-
|
|
269
|
-
[@yozora/
|
|
270
|
-
|
|
271
|
-
[@yozora/
|
|
272
|
-
|
|
273
|
-
[@yozora/
|
|
274
|
-
[@yozora/
|
|
275
|
-
|
|
276
|
-
[@yozora/
|
|
277
|
-
[@yozora/
|
|
278
|
-
[@yozora/
|
|
279
|
-
|
|
280
|
-
[@yozora/
|
|
281
|
-
|
|
282
|
-
[@yozora/
|
|
283
|
-
|
|
284
|
-
[
|
|
285
|
-
|
|
286
|
-
[
|
|
287
|
-
|
|
288
|
-
[
|
|
289
|
-
|
|
290
|
-
[
|
|
291
|
-
[
|
|
292
|
-
[
|
|
293
|
-
|
|
294
|
-
[
|
|
295
|
-
[
|
|
296
|
-
|
|
297
|
-
[
|
|
298
|
-
|
|
299
|
-
[
|
|
300
|
-
|
|
301
|
-
[
|
|
302
|
-
[
|
|
303
|
-
[
|
|
304
|
-
|
|
305
|
-
[
|
|
306
|
-
|
|
307
|
-
[
|
|
308
|
-
[
|
|
309
|
-
[
|
|
310
|
-
|
|
311
|
-
[
|
|
312
|
-
|
|
313
|
-
[
|
|
314
|
-
[
|
|
315
|
-
|
|
316
|
-
[
|
|
317
|
-
[
|
|
318
|
-
[
|
|
319
|
-
[
|
|
320
|
-
|
|
321
|
-
[
|
|
322
|
-
[
|
|
323
|
-
[
|
|
324
|
-
[
|
|
325
|
-
[
|
|
326
|
-
[
|
|
327
|
-
[gfm
|
|
328
|
-
[gfm-
|
|
329
|
-
[
|
|
330
|
-
[
|
|
331
|
-
[
|
|
332
|
-
|
|
333
|
-
[
|
|
334
|
-
[
|
|
335
|
-
[
|
|
336
|
-
[
|
|
337
|
-
[
|
|
338
|
-
|
|
339
|
-
[
|
|
340
|
-
[
|
|
341
|
-
[
|
|
342
|
-
|
|
343
|
-
[
|
|
344
|
-
[
|
|
345
|
-
|
|
346
|
-
[
|
|
347
|
-
|
|
348
|
-
[
|
|
349
|
-
|
|
209
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/ast#readme
|
|
210
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/ast-util#readme
|
|
211
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/character#readme
|
|
212
|
+
[@yozora/eslint-config]:
|
|
213
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
214
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/core-parser#readme
|
|
215
|
+
[@yozora/core-tokenizer]:
|
|
216
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/packages/core-tokenizer#readme
|
|
217
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/invariant#readme
|
|
218
|
+
[@yozora/jest-for-tokenizer]:
|
|
219
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
220
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/parser#readme
|
|
221
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/parser-gfm#readme
|
|
222
|
+
[@yozora/parser-gfm-ex]:
|
|
223
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/packages/parser-gfm-ex#readme
|
|
224
|
+
[@yozora/template-tokenizer]:
|
|
225
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
226
|
+
[@yozora/tokenizer-admonition]:
|
|
227
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/admonition#readme
|
|
228
|
+
[@yozora/tokenizer-autolink]:
|
|
229
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/autolink#readme
|
|
230
|
+
[@yozora/tokenizer-autolink-extension]:
|
|
231
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/autolink-extension#readme
|
|
232
|
+
[@yozora/tokenizer-blockquote]:
|
|
233
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/blockquote#readme
|
|
234
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/break#readme
|
|
235
|
+
[@yozora/tokenizer-definition]:
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/definition#readme
|
|
237
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/delete#readme
|
|
238
|
+
[@yozora/tokenizer-ecma-import]:
|
|
239
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/ecma-import#readme
|
|
240
|
+
[@yozora/tokenizer-emphasis]:
|
|
241
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/emphasis#readme
|
|
242
|
+
[@yozora/tokenizer-fenced-block]:
|
|
243
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/fenced-block#readme
|
|
244
|
+
[@yozora/tokenizer-fenced-code]:
|
|
245
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/fenced-code#readme
|
|
246
|
+
[@yozora/tokenizer-footnote]:
|
|
247
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/footnote#readme
|
|
248
|
+
[@yozora/tokenizer-footnote-definition]:
|
|
249
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/footnote-definition#readme
|
|
250
|
+
[@yozora/tokenizer-footnote-reference]:
|
|
251
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/footnote-reference#readme
|
|
252
|
+
[@yozora/tokenizer-heading]:
|
|
253
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/heading#readme
|
|
254
|
+
[@yozora/tokenizer-html-block]:
|
|
255
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/html-block#readme
|
|
256
|
+
[@yozora/tokenizer-html-inline]:
|
|
257
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/html-inline#readme
|
|
258
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/image#readme
|
|
259
|
+
[@yozora/tokenizer-image-reference]:
|
|
260
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/image-reference#readme
|
|
261
|
+
[@yozora/tokenizer-indented-code]:
|
|
262
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/indented-code#readme
|
|
263
|
+
[@yozora/tokenizer-inline-code]:
|
|
264
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/inline-code#readme
|
|
265
|
+
[@yozora/tokenizer-inline-math]:
|
|
266
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/inline-math#readme
|
|
267
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/link#readme
|
|
268
|
+
[@yozora/tokenizer-link-reference]:
|
|
269
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/link-reference#readme
|
|
270
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/list#readme
|
|
271
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/math#readme
|
|
272
|
+
[@yozora/tokenizer-paragraph]:
|
|
273
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/paragraph#readme
|
|
274
|
+
[@yozora/tokenizer-setext-heading]:
|
|
275
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/setext-heading#readme
|
|
276
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/table#readme
|
|
277
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/text#readme
|
|
278
|
+
[@yozora/tokenizer-thematic-break]:
|
|
279
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/thematic-break#readme
|
|
280
|
+
[@yozora/react-admonition]:
|
|
281
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
282
|
+
[@yozora/react-blockquote]:
|
|
283
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
|
|
284
|
+
[@yozora/react-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/break#readme
|
|
285
|
+
[@yozora/react-delete]: https://github.com/yozorajs/yozora-react/tree/main/packages/delete#readme
|
|
286
|
+
[@yozora/react-emphasis]:
|
|
287
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/emphasis#readme
|
|
288
|
+
[@yozora/react-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/code#readme
|
|
289
|
+
[@yozora/react-code-live]:
|
|
290
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/code-live#readme
|
|
291
|
+
[@yozora/react-footnote-definitions]:
|
|
292
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-definitions#readme
|
|
293
|
+
[@yozora/react-footnote-reference]:
|
|
294
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-reference#readme
|
|
295
|
+
[@yozora/react-heading]: https://github.com/yozorajs/yozora-react/tree/main/packages/heading#readme
|
|
296
|
+
[@yozora/react-image]: https://github.com/yozorajs/yozora-react/tree/main/packages/image#readme
|
|
297
|
+
[@yozora/react-inline-code]:
|
|
298
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-code#readme
|
|
299
|
+
[@yozora/react-inline-math]:
|
|
300
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-math#readme
|
|
301
|
+
[@yozora/react-link]: https://github.com/yozorajs/yozora-react/tree/main/packages/link#readme
|
|
302
|
+
[@yozora/react-list]: https://github.com/yozorajs/yozora-react/tree/main/packages/list#readme
|
|
303
|
+
[@yozora/react-list-item]:
|
|
304
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/list-item#readme
|
|
305
|
+
[@yozora/react-markdown]:
|
|
306
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/markdown#readme
|
|
307
|
+
[@yozora/react-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/math#readme
|
|
308
|
+
[@yozora/react-paragraph]:
|
|
309
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/paragraph#readme
|
|
310
|
+
[@yozora/react-strong]: https://github.com/yozorajs/yozora-react/tree/main/packages/strong#readme
|
|
311
|
+
[@yozora/react-table]: https://github.com/yozorajs/yozora-react/tree/main/packages/table#readme
|
|
312
|
+
[@yozora/react-text]: https://github.com/yozorajs/yozora-react/tree/main/packages/text#readme
|
|
313
|
+
[@yozora/react-thematic-break]:
|
|
314
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/thematic-break#readme
|
|
315
|
+
[doc-live-examples/gfm]: https://yozora.guanghechen.com/docs/example/gfm
|
|
316
|
+
[doc-@yozora/ast]: https://yozora.guanghechen.com/docs/package/ast
|
|
317
|
+
[doc-@yozora/ast-util]: https://yozora.guanghechen.com/docs/package/ast-util
|
|
318
|
+
[doc-@yozora/core-parser]: https://yozora.guanghechen.com/docs/package/core-parser
|
|
319
|
+
[doc-@yozora/core-tokenizer]: https://yozora.guanghechen.com/docs/package/core-tokenizer
|
|
320
|
+
[doc-@yozora/parser]: https://yozora.guanghechen.com/docs/package/parser
|
|
321
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
322
|
+
[doc-@yozora/parser-gfm-ex]: https://yozora.guanghechen.com/docs/package/parser-gfm-ex
|
|
323
|
+
[doc-@yozora/tokenizer-admonition]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
|
|
324
|
+
[doc-@yozora/tokenizer-autolink]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink
|
|
325
|
+
[doc-@yozora/tokenizer-autolink-extension]:
|
|
326
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-autolink-extension
|
|
327
|
+
[doc-@yozora/tokenizer-blockquote]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
|
|
328
|
+
[doc-@yozora/tokenizer-break]: https://yozora.guanghechen.com/docs/package/tokenizer-break
|
|
329
|
+
[doc-@yozora/tokenizer-delete]: https://yozora.guanghechen.com/docs/package/tokenizer-delete
|
|
330
|
+
[doc-@yozora/tokenizer-emphasis]: https://yozora.guanghechen.com/docs/package/tokenizer-emphasis
|
|
331
|
+
[doc-@yozora/tokenizer-fenced-code]:
|
|
332
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-fenced-code
|
|
333
|
+
[doc-@yozora/tokenizer-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-heading
|
|
334
|
+
[doc-@yozora/tokenizer-html-block]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
|
|
335
|
+
[doc-@yozora/tokenizer-html-inline]:
|
|
336
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
|
|
337
|
+
[doc-@yozora/tokenizer-image]: https://yozora.guanghechen.com/docs/package/tokenizer-image
|
|
338
|
+
[doc-@yozora/tokenizer-image-reference]:
|
|
339
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-image-reference
|
|
340
|
+
[doc-@yozora/tokenizer-indented-code]:
|
|
341
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-indented-code
|
|
342
|
+
[doc-@yozora/tokenizer-inline-code]:
|
|
343
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-code
|
|
344
|
+
[doc-@yozora/tokenizer-inline-math]:
|
|
345
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
|
|
346
|
+
[doc-@yozora/tokenizer-link]: https://yozora.guanghechen.com/docs/package/tokenizer-link
|
|
347
|
+
[doc-@yozora/tokenizer-definition]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
|
|
348
|
+
[doc-@yozora/tokenizer-link-reference]:
|
|
349
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-link-reference
|
|
350
|
+
[doc-@yozora/tokenizer-list]: https://yozora.guanghechen.com/docs/package/tokenizer-list
|
|
351
|
+
[doc-@yozora/tokenizer-math]: https://yozora.guanghechen.com/docs/package/tokenizer-math
|
|
352
|
+
[doc-@yozora/tokenizer-paragraph]: https://yozora.guanghechen.com/docs/package/tokenizer-paragraph
|
|
353
|
+
[doc-@yozora/tokenizer-setext-heading]:
|
|
354
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-setext-heading
|
|
355
|
+
[doc-@yozora/tokenizer-table]: https://yozora.guanghechen.com/docs/package/tokenizer-table
|
|
356
|
+
[doc-@yozora/tokenizer-text]: https://yozora.guanghechen.com/docs/package/tokenizer-text
|
|
357
|
+
[doc-@yozora/tokenizer-thematic-break]:
|
|
358
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
|
|
359
|
+
[doc-@yozora/jest-for-tokenizer]: https://yozora.guanghechen.com/docs/package/jest-for-tokenizer
|
|
360
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
361
|
+
[gfm-atx-heading]: https://github.github.com/gfm/#atx-heading
|
|
362
|
+
[gfm-autolink]: https://github.github.com/gfm/#autolinks
|
|
363
|
+
[gfm-autolink-extension]: https://github.github.com/gfm/#autolinks-extension-
|
|
364
|
+
[gfm-blockquote]: https://github.github.com/gfm/#block-quotes
|
|
365
|
+
[gfm-bullet-list]: https://github.github.com/gfm/#bullet-list
|
|
366
|
+
[gfm-delete]: https://github.github.com/gfm/#strikethrough-extension-
|
|
367
|
+
[gfm-emphasis]: https://github.github.com/gfm/#can-open-emphasis
|
|
368
|
+
[gfm-fenced-code]: https://github.github.com/gfm/#fenced-code-block
|
|
369
|
+
[gfm-hard-line-break]: https://github.github.com/gfm/#hard-line-break
|
|
370
|
+
[gfm-html-block]: https://github.github.com/gfm/#html-block
|
|
371
|
+
[gfm-html-inline]: https://github.github.com/gfm/#raw-html
|
|
372
|
+
[gfm-image]: https://github.github.com/gfm/#images
|
|
373
|
+
[gfm-image-reference]: https://github.github.com/gfm/#example-590
|
|
374
|
+
[gfm-indented-code]: https://github.github.com/gfm/#indented-code-block
|
|
375
|
+
[gfm-inline-code]: https://github.github.com/gfm/#code-span
|
|
376
|
+
[gfm-link]: https://github.github.com/gfm/#inline-link
|
|
377
|
+
[gfm-definition]: https://github.github.com/gfm/#link-reference-definition
|
|
378
|
+
[gfm-link-reference]: https://github.github.com/gfm/#reference-link
|
|
379
|
+
[gfm-list]: https://github.github.com/gfm/#lists
|
|
380
|
+
[gfm-list-item]: https://github.github.com/gfm/#list-items
|
|
381
|
+
[gfm-list-task-item]: https://github.github.com/gfm/#task-list-items-extension-
|
|
382
|
+
[gfm-paragraph]: https://github.github.com/gfm/#paragraph
|
|
383
|
+
[gfm-setext-heading]: https://github.github.com/gfm/#setext-heading
|
|
384
|
+
[gfm-soft-line-break]: https://github.github.com/gfm/#soft-line-breaks
|
|
385
|
+
[gfm-strong]: https://github.github.com/gfm/#can-open-strong-emphasis
|
|
386
|
+
[gfm-tab]: https://github.github.com/gfm/#tabs
|
|
387
|
+
[gfm-table]: https://github.github.com/gfm/#table
|
|
388
|
+
[gfm-text]: https://github.github.com/gfm/#soft-line-breaks
|
|
389
|
+
[gfm-thematic-break]: https://github.github.com/gfm/#thematic-break
|
|
350
390
|
|
|
351
391
|
<!-- :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-break",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
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/break"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/break",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
"types": "./lib/types/index.d.ts",
|
|
@@ -33,15 +33,10 @@
|
|
|
33
33
|
"LICENSE",
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build": "rimraf lib/ && cross-env NODE_ENV=production rollup -c ../../rollup.config.mjs",
|
|
38
|
-
"prepublishOnly": "cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build",
|
|
39
|
-
"test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
|
|
40
|
-
},
|
|
41
36
|
"dependencies": {
|
|
42
|
-
"@yozora/ast": "^2.3.
|
|
43
|
-
"@yozora/character": "^2.3.
|
|
44
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
37
|
+
"@yozora/ast": "^2.3.2",
|
|
38
|
+
"@yozora/character": "^2.3.2",
|
|
39
|
+
"@yozora/core-tokenizer": "^2.3.2"
|
|
45
40
|
},
|
|
46
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "73fe7a7906f5958fa1b73b9dbfd04cf2f15c50ce"
|
|
47
42
|
}
|