@yozora/tokenizer-blockquote 2.3.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 +377 -379
- package/README.md +211 -167
- package/lib/cjs/index.cjs +2 -1
- package/lib/esm/index.mjs +2 -1
- 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.1/tokenizers/blockquote#readme">@yozora/tokenizer-blockquote</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-blockquote">
|
|
@@ -53,35 +53,35 @@
|
|
|
53
53
|
|
|
54
54
|
<!-- :end -->
|
|
55
55
|
|
|
56
|
-
[@yozora/tokenizer-blockquote][] produce [Blockquote][node-type] type nodes.
|
|
57
|
-
|
|
56
|
+
[@yozora/tokenizer-blockquote][] produce [Blockquote][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-blockquote
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
- yarn
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
72
|
yarn add @yozora/tokenizer-blockquote
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
|
|
76
75
|
## Usage
|
|
77
76
|
|
|
78
|
-
[@yozora/tokenizer-blockquote][] has been integrated into [@yozora/parser][] /
|
|
79
|
-
so you can use `YozoraParser` / `GfmExParser` /
|
|
77
|
+
[@yozora/tokenizer-blockquote][] has been integrated into [@yozora/parser][] /
|
|
78
|
+
[@yozora/parser-gfm-ex][] / [@yozora/parser-gfm][], so you can use `YozoraParser` / `GfmExParser` /
|
|
79
|
+
`GfmParser` directly.
|
|
80
80
|
|
|
81
81
|
### Basic Usage
|
|
82
82
|
|
|
83
|
-
[@yozora/tokenizer-blockquote][] cannot be used alone, it needs to be
|
|
84
|
-
|
|
83
|
+
[@yozora/tokenizer-blockquote][] cannot be used alone, it needs to be registered in _YastParser_ as
|
|
84
|
+
a plugin-in before it can be used.
|
|
85
85
|
|
|
86
86
|
```typescript {4,9}
|
|
87
87
|
import { DefaultParser } from '@yozora/core-parser'
|
|
@@ -157,34 +157,32 @@ parser.parse(`
|
|
|
157
157
|
|
|
158
158
|
### Options
|
|
159
159
|
|
|
160
|
-
Name
|
|
161
|
-
|
|
162
|
-
`name`
|
|
163
|
-
`priority`
|
|
160
|
+
| Name | Type | Required | Default |
|
|
161
|
+
| :--------: | :------: | :------: | :----------------------------------: |
|
|
162
|
+
| `name` | `string` | `false` | `"@yozora/tokenizer-blockquote"` |
|
|
163
|
+
| `priority` | `number` | `false` | `TokenizerPriority.CONTAINING_BLOCK` |
|
|
164
164
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
- `name`: The unique name of the tokenizer, used to bind the token it generates, to determine the
|
|
166
|
+
tokenizer that should be called in each life cycle of the token in the entire _matching / parsing_
|
|
167
|
+
phase.
|
|
168
168
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
low-priority tokenizer.
|
|
169
|
+
- `priority`: Priority of the tokenizer, determine the order of processing, high priority priority
|
|
170
|
+
execution. interruptable. In addition, in the `match-block` stage, a high-priority tokenizer can
|
|
171
|
+
interrupt the matching process of a low-priority tokenizer.
|
|
173
172
|
|
|
174
173
|
<!-- :end -->
|
|
175
174
|
|
|
176
175
|
## Related
|
|
177
176
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
* [Documentation][docpage]
|
|
177
|
+
- [@yozora/ast][]
|
|
178
|
+
- [@yozora/parser][]
|
|
179
|
+
- [@yozora/parser-gfm][]
|
|
180
|
+
- [@yozora/parser-gfm-ex][]
|
|
181
|
+
- [@yozora/react-blockquote][]
|
|
182
|
+
- [@yozora/react-markdown][]
|
|
183
|
+
- [Live Examples][live-examples]
|
|
184
|
+
- [Blockquote | Yozora AST][node-type]
|
|
185
|
+
- [Documentation][docpage]
|
|
188
186
|
|
|
189
187
|
[node-type]: http://yozora.guanghechen.com/docs/package/ast#blockquote
|
|
190
188
|
|
|
@@ -192,143 +190,189 @@ Name | Type | Required | Default
|
|
|
192
190
|
|
|
193
191
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote#live-examples
|
|
194
192
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
|
|
195
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
193
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/blockquote#readme
|
|
196
194
|
[gfm-spec]: https://github.github.com/gfm
|
|
197
195
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
198
|
-
|
|
199
|
-
[@yozora/ast]:
|
|
200
|
-
[@yozora/
|
|
201
|
-
[@yozora/
|
|
202
|
-
|
|
203
|
-
[@yozora/core-parser]:
|
|
204
|
-
[@yozora/core-tokenizer]:
|
|
205
|
-
|
|
206
|
-
[@yozora/
|
|
207
|
-
[@yozora/
|
|
208
|
-
|
|
209
|
-
[@yozora/parser
|
|
210
|
-
[@yozora/
|
|
211
|
-
[@yozora/
|
|
212
|
-
|
|
213
|
-
[@yozora/tokenizer
|
|
214
|
-
|
|
215
|
-
[@yozora/tokenizer-
|
|
216
|
-
|
|
217
|
-
[@yozora/tokenizer-
|
|
218
|
-
|
|
219
|
-
[@yozora/tokenizer-
|
|
220
|
-
|
|
221
|
-
[@yozora/tokenizer-
|
|
222
|
-
|
|
223
|
-
[@yozora/tokenizer-
|
|
224
|
-
[@yozora/tokenizer-
|
|
225
|
-
|
|
226
|
-
[@yozora/tokenizer-
|
|
227
|
-
[@yozora/tokenizer-
|
|
228
|
-
|
|
229
|
-
[@yozora/tokenizer-
|
|
230
|
-
|
|
231
|
-
[@yozora/tokenizer-
|
|
232
|
-
|
|
233
|
-
[@yozora/tokenizer-
|
|
234
|
-
|
|
235
|
-
[@yozora/tokenizer-
|
|
236
|
-
|
|
237
|
-
[@yozora/tokenizer-
|
|
238
|
-
|
|
239
|
-
[@yozora/tokenizer-
|
|
240
|
-
|
|
241
|
-
[@yozora/tokenizer-
|
|
242
|
-
|
|
243
|
-
[@yozora/
|
|
244
|
-
|
|
245
|
-
[@yozora/
|
|
246
|
-
|
|
247
|
-
[@yozora/
|
|
248
|
-
[@yozora/
|
|
249
|
-
|
|
250
|
-
[@yozora/
|
|
251
|
-
|
|
252
|
-
[@yozora/
|
|
253
|
-
|
|
254
|
-
[@yozora/
|
|
255
|
-
|
|
256
|
-
[@yozora/
|
|
257
|
-
[@yozora/
|
|
258
|
-
|
|
259
|
-
[@yozora/
|
|
260
|
-
[@yozora/
|
|
261
|
-
[@yozora/
|
|
262
|
-
|
|
263
|
-
[@yozora/
|
|
264
|
-
|
|
265
|
-
[@yozora/
|
|
266
|
-
|
|
267
|
-
[
|
|
268
|
-
|
|
269
|
-
[
|
|
270
|
-
|
|
271
|
-
[
|
|
272
|
-
|
|
273
|
-
[
|
|
274
|
-
[
|
|
275
|
-
[
|
|
276
|
-
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
|
|
280
|
-
[
|
|
281
|
-
|
|
282
|
-
[
|
|
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
|
-
[gfm
|
|
311
|
-
[gfm-
|
|
312
|
-
[
|
|
313
|
-
[
|
|
314
|
-
[
|
|
315
|
-
|
|
316
|
-
[
|
|
317
|
-
[
|
|
318
|
-
[
|
|
319
|
-
[
|
|
320
|
-
[
|
|
321
|
-
|
|
322
|
-
[
|
|
323
|
-
[
|
|
324
|
-
[
|
|
325
|
-
|
|
326
|
-
[
|
|
327
|
-
[
|
|
328
|
-
|
|
329
|
-
[
|
|
330
|
-
|
|
331
|
-
[
|
|
332
|
-
|
|
196
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast#readme
|
|
197
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast-util#readme
|
|
198
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/character#readme
|
|
199
|
+
[@yozora/eslint-config]:
|
|
200
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
201
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-parser#readme
|
|
202
|
+
[@yozora/core-tokenizer]:
|
|
203
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-tokenizer#readme
|
|
204
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/invariant#readme
|
|
205
|
+
[@yozora/jest-for-tokenizer]:
|
|
206
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
207
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser#readme
|
|
208
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm#readme
|
|
209
|
+
[@yozora/parser-gfm-ex]:
|
|
210
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm-ex#readme
|
|
211
|
+
[@yozora/template-tokenizer]:
|
|
212
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
213
|
+
[@yozora/tokenizer-admonition]:
|
|
214
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/admonition#readme
|
|
215
|
+
[@yozora/tokenizer-autolink]:
|
|
216
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink#readme
|
|
217
|
+
[@yozora/tokenizer-autolink-extension]:
|
|
218
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink-extension#readme
|
|
219
|
+
[@yozora/tokenizer-blockquote]:
|
|
220
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/blockquote#readme
|
|
221
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/break#readme
|
|
222
|
+
[@yozora/tokenizer-definition]:
|
|
223
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/definition#readme
|
|
224
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/delete#readme
|
|
225
|
+
[@yozora/tokenizer-ecma-import]:
|
|
226
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/ecma-import#readme
|
|
227
|
+
[@yozora/tokenizer-emphasis]:
|
|
228
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/emphasis#readme
|
|
229
|
+
[@yozora/tokenizer-fenced-block]:
|
|
230
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-block#readme
|
|
231
|
+
[@yozora/tokenizer-fenced-code]:
|
|
232
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-code#readme
|
|
233
|
+
[@yozora/tokenizer-footnote]:
|
|
234
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote#readme
|
|
235
|
+
[@yozora/tokenizer-footnote-definition]:
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-definition#readme
|
|
237
|
+
[@yozora/tokenizer-footnote-reference]:
|
|
238
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-reference#readme
|
|
239
|
+
[@yozora/tokenizer-heading]:
|
|
240
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/heading#readme
|
|
241
|
+
[@yozora/tokenizer-html-block]:
|
|
242
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-block#readme
|
|
243
|
+
[@yozora/tokenizer-html-inline]:
|
|
244
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-inline#readme
|
|
245
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image#readme
|
|
246
|
+
[@yozora/tokenizer-image-reference]:
|
|
247
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image-reference#readme
|
|
248
|
+
[@yozora/tokenizer-indented-code]:
|
|
249
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/indented-code#readme
|
|
250
|
+
[@yozora/tokenizer-inline-code]:
|
|
251
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-code#readme
|
|
252
|
+
[@yozora/tokenizer-inline-math]:
|
|
253
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-math#readme
|
|
254
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link#readme
|
|
255
|
+
[@yozora/tokenizer-link-reference]:
|
|
256
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link-reference#readme
|
|
257
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/list#readme
|
|
258
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/math#readme
|
|
259
|
+
[@yozora/tokenizer-paragraph]:
|
|
260
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/paragraph#readme
|
|
261
|
+
[@yozora/tokenizer-setext-heading]:
|
|
262
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/setext-heading#readme
|
|
263
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/table#readme
|
|
264
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/text#readme
|
|
265
|
+
[@yozora/tokenizer-thematic-break]:
|
|
266
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/thematic-break#readme
|
|
267
|
+
[@yozora/react-admonition]:
|
|
268
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
269
|
+
[@yozora/react-blockquote]:
|
|
270
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
|
|
271
|
+
[@yozora/react-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/break#readme
|
|
272
|
+
[@yozora/react-delete]: https://github.com/yozorajs/yozora-react/tree/main/packages/delete#readme
|
|
273
|
+
[@yozora/react-emphasis]:
|
|
274
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/emphasis#readme
|
|
275
|
+
[@yozora/react-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/code#readme
|
|
276
|
+
[@yozora/react-code-live]:
|
|
277
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/code-live#readme
|
|
278
|
+
[@yozora/react-footnote-definitions]:
|
|
279
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-definitions#readme
|
|
280
|
+
[@yozora/react-footnote-reference]:
|
|
281
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-reference#readme
|
|
282
|
+
[@yozora/react-heading]: https://github.com/yozorajs/yozora-react/tree/main/packages/heading#readme
|
|
283
|
+
[@yozora/react-image]: https://github.com/yozorajs/yozora-react/tree/main/packages/image#readme
|
|
284
|
+
[@yozora/react-inline-code]:
|
|
285
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-code#readme
|
|
286
|
+
[@yozora/react-inline-math]:
|
|
287
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-math#readme
|
|
288
|
+
[@yozora/react-link]: https://github.com/yozorajs/yozora-react/tree/main/packages/link#readme
|
|
289
|
+
[@yozora/react-list]: https://github.com/yozorajs/yozora-react/tree/main/packages/list#readme
|
|
290
|
+
[@yozora/react-list-item]:
|
|
291
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/list-item#readme
|
|
292
|
+
[@yozora/react-markdown]:
|
|
293
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/markdown#readme
|
|
294
|
+
[@yozora/react-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/math#readme
|
|
295
|
+
[@yozora/react-paragraph]:
|
|
296
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/paragraph#readme
|
|
297
|
+
[@yozora/react-strong]: https://github.com/yozorajs/yozora-react/tree/main/packages/strong#readme
|
|
298
|
+
[@yozora/react-table]: https://github.com/yozorajs/yozora-react/tree/main/packages/table#readme
|
|
299
|
+
[@yozora/react-text]: https://github.com/yozorajs/yozora-react/tree/main/packages/text#readme
|
|
300
|
+
[@yozora/react-thematic-break]:
|
|
301
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/thematic-break#readme
|
|
302
|
+
[doc-live-examples/gfm]: https://yozora.guanghechen.com/docs/example/gfm
|
|
303
|
+
[doc-@yozora/ast]: https://yozora.guanghechen.com/docs/package/ast
|
|
304
|
+
[doc-@yozora/ast-util]: https://yozora.guanghechen.com/docs/package/ast-util
|
|
305
|
+
[doc-@yozora/core-parser]: https://yozora.guanghechen.com/docs/package/core-parser
|
|
306
|
+
[doc-@yozora/core-tokenizer]: https://yozora.guanghechen.com/docs/package/core-tokenizer
|
|
307
|
+
[doc-@yozora/parser]: https://yozora.guanghechen.com/docs/package/parser
|
|
308
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
309
|
+
[doc-@yozora/parser-gfm-ex]: https://yozora.guanghechen.com/docs/package/parser-gfm-ex
|
|
310
|
+
[doc-@yozora/tokenizer-admonition]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
|
|
311
|
+
[doc-@yozora/tokenizer-autolink]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink
|
|
312
|
+
[doc-@yozora/tokenizer-autolink-extension]:
|
|
313
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-autolink-extension
|
|
314
|
+
[doc-@yozora/tokenizer-blockquote]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
|
|
315
|
+
[doc-@yozora/tokenizer-break]: https://yozora.guanghechen.com/docs/package/tokenizer-break
|
|
316
|
+
[doc-@yozora/tokenizer-delete]: https://yozora.guanghechen.com/docs/package/tokenizer-delete
|
|
317
|
+
[doc-@yozora/tokenizer-emphasis]: https://yozora.guanghechen.com/docs/package/tokenizer-emphasis
|
|
318
|
+
[doc-@yozora/tokenizer-fenced-code]:
|
|
319
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-fenced-code
|
|
320
|
+
[doc-@yozora/tokenizer-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-heading
|
|
321
|
+
[doc-@yozora/tokenizer-html-block]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
|
|
322
|
+
[doc-@yozora/tokenizer-html-inline]:
|
|
323
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
|
|
324
|
+
[doc-@yozora/tokenizer-image]: https://yozora.guanghechen.com/docs/package/tokenizer-image
|
|
325
|
+
[doc-@yozora/tokenizer-image-reference]:
|
|
326
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-image-reference
|
|
327
|
+
[doc-@yozora/tokenizer-indented-code]:
|
|
328
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-indented-code
|
|
329
|
+
[doc-@yozora/tokenizer-inline-code]:
|
|
330
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-code
|
|
331
|
+
[doc-@yozora/tokenizer-inline-math]:
|
|
332
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
|
|
333
|
+
[doc-@yozora/tokenizer-link]: https://yozora.guanghechen.com/docs/package/tokenizer-link
|
|
334
|
+
[doc-@yozora/tokenizer-definition]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
|
|
335
|
+
[doc-@yozora/tokenizer-link-reference]:
|
|
336
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-link-reference
|
|
337
|
+
[doc-@yozora/tokenizer-list]: https://yozora.guanghechen.com/docs/package/tokenizer-list
|
|
338
|
+
[doc-@yozora/tokenizer-math]: https://yozora.guanghechen.com/docs/package/tokenizer-math
|
|
339
|
+
[doc-@yozora/tokenizer-paragraph]: https://yozora.guanghechen.com/docs/package/tokenizer-paragraph
|
|
340
|
+
[doc-@yozora/tokenizer-setext-heading]:
|
|
341
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-setext-heading
|
|
342
|
+
[doc-@yozora/tokenizer-table]: https://yozora.guanghechen.com/docs/package/tokenizer-table
|
|
343
|
+
[doc-@yozora/tokenizer-text]: https://yozora.guanghechen.com/docs/package/tokenizer-text
|
|
344
|
+
[doc-@yozora/tokenizer-thematic-break]:
|
|
345
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
|
|
346
|
+
[doc-@yozora/jest-for-tokenizer]: https://yozora.guanghechen.com/docs/package/jest-for-tokenizer
|
|
347
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
348
|
+
[gfm-atx-heading]: https://github.github.com/gfm/#atx-heading
|
|
349
|
+
[gfm-autolink]: https://github.github.com/gfm/#autolinks
|
|
350
|
+
[gfm-autolink-extension]: https://github.github.com/gfm/#autolinks-extension-
|
|
351
|
+
[gfm-blockquote]: https://github.github.com/gfm/#block-quotes
|
|
352
|
+
[gfm-bullet-list]: https://github.github.com/gfm/#bullet-list
|
|
353
|
+
[gfm-delete]: https://github.github.com/gfm/#strikethrough-extension-
|
|
354
|
+
[gfm-emphasis]: https://github.github.com/gfm/#can-open-emphasis
|
|
355
|
+
[gfm-fenced-code]: https://github.github.com/gfm/#fenced-code-block
|
|
356
|
+
[gfm-hard-line-break]: https://github.github.com/gfm/#hard-line-break
|
|
357
|
+
[gfm-html-block]: https://github.github.com/gfm/#html-block
|
|
358
|
+
[gfm-html-inline]: https://github.github.com/gfm/#raw-html
|
|
359
|
+
[gfm-image]: https://github.github.com/gfm/#images
|
|
360
|
+
[gfm-image-reference]: https://github.github.com/gfm/#example-590
|
|
361
|
+
[gfm-indented-code]: https://github.github.com/gfm/#indented-code-block
|
|
362
|
+
[gfm-inline-code]: https://github.github.com/gfm/#code-span
|
|
363
|
+
[gfm-link]: https://github.github.com/gfm/#inline-link
|
|
364
|
+
[gfm-definition]: https://github.github.com/gfm/#link-reference-definition
|
|
365
|
+
[gfm-link-reference]: https://github.github.com/gfm/#reference-link
|
|
366
|
+
[gfm-list]: https://github.github.com/gfm/#lists
|
|
367
|
+
[gfm-list-item]: https://github.github.com/gfm/#list-items
|
|
368
|
+
[gfm-list-task-item]: https://github.github.com/gfm/#task-list-items-extension-
|
|
369
|
+
[gfm-paragraph]: https://github.github.com/gfm/#paragraph
|
|
370
|
+
[gfm-setext-heading]: https://github.github.com/gfm/#setext-heading
|
|
371
|
+
[gfm-soft-line-break]: https://github.github.com/gfm/#soft-line-breaks
|
|
372
|
+
[gfm-strong]: https://github.github.com/gfm/#can-open-strong-emphasis
|
|
373
|
+
[gfm-tab]: https://github.github.com/gfm/#tabs
|
|
374
|
+
[gfm-table]: https://github.github.com/gfm/#table
|
|
375
|
+
[gfm-text]: https://github.github.com/gfm/#soft-line-breaks
|
|
376
|
+
[gfm-thematic-break]: https://github.github.com/gfm/#thematic-break
|
|
333
377
|
|
|
334
378
|
<!-- :end -->
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -47,7 +47,7 @@ const match = function () {
|
|
|
47
47
|
remainingSibling: prevSiblingToken,
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
function eatContinuationText(line,
|
|
50
|
+
function eatContinuationText(line, _token, parentToken) {
|
|
51
51
|
const { nodePoints, startIndex, endIndex, firstNonWhitespaceIndex, countOfPrecedeSpaces } = line;
|
|
52
52
|
if (countOfPrecedeSpaces >= 4 ||
|
|
53
53
|
firstNonWhitespaceIndex >= endIndex ||
|
|
@@ -95,3 +95,4 @@ exports.BlockquoteTokenizerName = uniqueName;
|
|
|
95
95
|
exports.blockquoteMatch = match;
|
|
96
96
|
exports.blockquoteParse = parse;
|
|
97
97
|
exports.default = BlockquoteTokenizer;
|
|
98
|
+
//# sourceMappingURL=index.cjs.map
|
package/lib/esm/index.mjs
CHANGED
|
@@ -43,7 +43,7 @@ const match = function () {
|
|
|
43
43
|
remainingSibling: prevSiblingToken,
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function eatContinuationText(line,
|
|
46
|
+
function eatContinuationText(line, _token, parentToken) {
|
|
47
47
|
const { nodePoints, startIndex, endIndex, firstNonWhitespaceIndex, countOfPrecedeSpaces } = line;
|
|
48
48
|
if (countOfPrecedeSpaces >= 4 ||
|
|
49
49
|
firstNonWhitespaceIndex >= endIndex ||
|
|
@@ -87,3 +87,4 @@ class BlockquoteTokenizer extends BaseBlockTokenizer {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
export { BlockquoteTokenizer, uniqueName as BlockquoteTokenizerName, match as blockquoteMatch, parse as blockquoteParse, BlockquoteTokenizer as default };
|
|
90
|
+
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-blockquote",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
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/blockquote"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.0/tokenizers/blockquote",
|
|
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.1",
|
|
38
|
+
"@yozora/character": "^2.3.1",
|
|
39
|
+
"@yozora/core-tokenizer": "^2.3.1"
|
|
45
40
|
},
|
|
46
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "eaea7c3649e7e7886a1c3a85125b8c6268fdab20"
|
|
47
42
|
}
|