@yozora/tokenizer-inline-math 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/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.2.0/tokenizers/inline-math#readme">@yozora/tokenizer-inline-math</a>
5
+ <a href="https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-math#readme">@yozora/tokenizer-inline-math</a>
6
6
  </h1>
7
7
  <div align="center">
8
8
  <a href="https://www.npmjs.com/package/@yozora/tokenizer-inline-math">
@@ -53,33 +53,32 @@
53
53
 
54
54
  <!-- :end -->
55
55
 
56
- [@yozora/tokenizer-inline-math] produce [InlineMath][node-type] type nodes.
57
- See [documentation][docpage] for details.
56
+ [@yozora/tokenizer-inline-math] produce [InlineMath][node-type] type nodes. See
57
+ [documentation][docpage] for details.
58
58
 
59
59
  ## Install
60
60
 
61
- * npm
61
+ - npm
62
62
 
63
63
  ```bash
64
64
  npm install --save @yozora/tokenizer-inline-math
65
65
  ```
66
66
 
67
- * yarn
67
+ - yarn
68
68
 
69
69
  ```bash
70
70
  yarn add @yozora/tokenizer-inline-math
71
71
  ```
72
72
 
73
-
74
73
  ## Usage
75
74
 
76
- [@yozora/tokenizer-inline-math][] has been integrated into [@yozora/parser][],
77
- so you can use `YozoraParser` directly.
75
+ [@yozora/tokenizer-inline-math][] has been integrated into [@yozora/parser][], so you can use
76
+ `YozoraParser` directly.
78
77
 
79
78
  ### Basic Usage
80
79
 
81
- [@yozora/tokenizer-inline-math][] cannot be used alone, it needs to be
82
- registered in *YastParser* as a plugin-in before it can be used.
80
+ [@yozora/tokenizer-inline-math][] cannot be used alone, it needs to be registered in _YastParser_ as
81
+ a plugin-in before it can be used.
83
82
 
84
83
  ```typescript {4,9}
85
84
  import { DefaultParser } from '@yozora/core-parser'
@@ -135,51 +134,45 @@ parser.parse("`$x^2 + y^2 = z^2, x < 0$`")
135
134
 
136
135
  ### Options
137
136
 
138
- Name | Type | Required | Default
139
- :----------------:|:-----------:|:---------:|:--------------:
140
- `name` | `string` | `false` | `"@yozora/tokenizer-inline-math"`
141
- `priority` | `number` | `false` | `TokenizerPriority.ATOMIC`
142
- `delimiterGroup` | `string` | `false` | `<this.name>`
143
- `backtickRequired`| `boolean` | `false` | `true`
137
+ | Name | Type | Required | Default |
138
+ | :----------------: | :-------: | :------: | :-------------------------------: |
139
+ | `name` | `string` | `false` | `"@yozora/tokenizer-inline-math"` |
140
+ | `priority` | `number` | `false` | `TokenizerPriority.ATOMIC` |
141
+ | `delimiterGroup` | `string` | `false` | `<this.name>` |
142
+ | `backtickRequired` | `boolean` | `false` | `true` |
144
143
 
145
- * `name`: The unique name of the tokenizer, used to bind the token it generates,
146
- to determine the tokenizer that should be called in each life cycle of the
147
- token in the entire *matching / parsing* phase.
144
+ - `name`: The unique name of the tokenizer, used to bind the token it generates, to determine the
145
+ tokenizer that should be called in each life cycle of the token in the entire _matching / parsing_
146
+ phase.
148
147
 
149
- * `priority`: Priority of the tokenizer, determine the order of processing,
150
- high priority priority execution. interruptable. In addition, in the `match-block`
151
- stage, a high-priority tokenizer can interrupt the matching process of a
152
- low-priority tokenizer.
148
+ - `priority`: Priority of the tokenizer, determine the order of processing, high priority priority
149
+ execution. interruptable. In addition, in the `match-block` stage, a high-priority tokenizer can
150
+ interrupt the matching process of a low-priority tokenizer.
153
151
 
154
- **Exception:** Delimiters of type `full` are always processed before other type
155
- delimiters.
152
+ **Exception:** Delimiters of type `full` are always processed before other type delimiters.
156
153
 
157
- * `delimiterGroup`: Delimiter group identity.
158
- All delimiters with a same `delimiterGroup` can be cleaned up at the same
159
- time in a certain `invalidateOldDelimiters()` call.
154
+ - `delimiterGroup`: Delimiter group identity. All delimiters with a same `delimiterGroup` can be
155
+ cleaned up at the same time in a certain `invalidateOldDelimiters()` call.
160
156
 
161
157
  Designed to handle situations such as [link][@yozora/tokenizer-link] and
162
- [link-reference][@yozora/tokenizer-link-reference] both cannot contain other
163
- links.
158
+ [link-reference][@yozora/tokenizer-link-reference] both cannot contain other links.
164
159
 
165
160
  See https://github.github.com/gfm/#example-526.
166
161
 
167
- * `backtickRequired`: Whether if the backtick mark wrapping necessary.
168
-
162
+ - `backtickRequired`: Whether if the backtick mark wrapping necessary.
169
163
 
170
164
  ## Related
171
165
 
172
-
173
- * [@yozora/ast][]
174
- * [@yozora/parser][]
175
- * [@yozora/parser-gfm][]
176
- * [@yozora/parser-gfm-ex][]
177
- * [@yozora/tokenizer-math][]
178
- * [@yozora/react-math][]
179
- * [@yozora/react-markdown][]
180
- * [Live Examples][live-examples]
181
- * [InlineMath | Yozora AST][node-type]
182
- * [Documentation][docpage]
166
+ - [@yozora/ast][]
167
+ - [@yozora/parser][]
168
+ - [@yozora/parser-gfm][]
169
+ - [@yozora/parser-gfm-ex][]
170
+ - [@yozora/tokenizer-math][]
171
+ - [@yozora/react-math][]
172
+ - [@yozora/react-markdown][]
173
+ - [Live Examples][live-examples]
174
+ - [InlineMath | Yozora AST][node-type]
175
+ - [Documentation][docpage]
183
176
 
184
177
  [node-type]: http://yozora.guanghechen.com/docs/package/ast#inlinemath
185
178
 
@@ -187,143 +180,189 @@ Name | Type | Required | Default
187
180
 
188
181
  [live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-inline-math#live-examples
189
182
  [docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
190
- [homepage]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/inline-math#readme
183
+ [homepage]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-math#readme
191
184
  [gfm-spec]: https://github.github.com/gfm
192
185
  [mdast-homepage]: https://github.com/syntax-tree/mdast
193
-
194
- [@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/ast#readme
195
- [@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/ast-util#readme
196
- [@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/character#readme
197
- [@yozora/eslint-config]: https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
198
- [@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/core-parser#readme
199
- [@yozora/core-tokenizer]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/core-tokenizer#readme
200
- [@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/invariant#readme
201
- [@yozora/jest-for-tokenizer]: https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
202
- [@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/parser#readme
203
- [@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/parser-gfm#readme
204
- [@yozora/parser-gfm-ex]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/parser-gfm-ex#readme
205
- [@yozora/template-tokenizer]: https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
206
- [@yozora/tokenizer-admonition]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/admonition#readme
207
- [@yozora/tokenizer-autolink]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/autolink#readme
208
- [@yozora/tokenizer-autolink-extension]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/autolink-extension#readme
209
- [@yozora/tokenizer-blockquote]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/blockquote#readme
210
- [@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/break#readme
211
- [@yozora/tokenizer-definition]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/definition#readme
212
- [@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/delete#readme
213
- [@yozora/tokenizer-ecma-import]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/ecma-import#readme
214
- [@yozora/tokenizer-emphasis]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/emphasis#readme
215
- [@yozora/tokenizer-fenced-block]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/fenced-block#readme
216
- [@yozora/tokenizer-fenced-code]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/fenced-code#readme
217
- [@yozora/tokenizer-footnote]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/footnote#readme
218
- [@yozora/tokenizer-footnote-definition]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/footnote-definition#readme
219
- [@yozora/tokenizer-footnote-reference]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/footnote-reference#readme
220
- [@yozora/tokenizer-heading]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/heading#readme
221
- [@yozora/tokenizer-html-block]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/html-block#readme
222
- [@yozora/tokenizer-html-inline]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/html-inline#readme
223
- [@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/image#readme
224
- [@yozora/tokenizer-image-reference]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/image-reference#readme
225
- [@yozora/tokenizer-indented-code]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/indented-code#readme
226
- [@yozora/tokenizer-inline-code]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/inline-code#readme
227
- [@yozora/tokenizer-inline-math]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/inline-math#readme
228
- [@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/link#readme
229
- [@yozora/tokenizer-link-reference]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/link-reference#readme
230
- [@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/list#readme
231
- [@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/math#readme
232
- [@yozora/tokenizer-paragraph]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/paragraph#readme
233
- [@yozora/tokenizer-setext-heading]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/setext-heading#readme
234
- [@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/table#readme
235
- [@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/text#readme
236
- [@yozora/tokenizer-thematic-break]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/thematic-break#readme
237
-
238
- [@yozora/react-admonition]: https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
239
- [@yozora/react-blockquote]: https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
240
- [@yozora/react-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/break#readme
241
- [@yozora/react-delete]: https://github.com/yozorajs/yozora-react/tree/main/packages/delete#readme
242
- [@yozora/react-emphasis]: https://github.com/yozorajs/yozora-react/tree/main/packages/emphasis#readme
243
- [@yozora/react-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/code#readme
244
- [@yozora/react-code-live]: https://github.com/yozorajs/yozora-react/tree/main/packages/code-live#readme
245
- [@yozora/react-footnote-definitions]: https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-definitions#readme
246
- [@yozora/react-footnote-reference]: https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-reference#readme
247
- [@yozora/react-heading]: https://github.com/yozorajs/yozora-react/tree/main/packages/heading#readme
248
- [@yozora/react-image]: https://github.com/yozorajs/yozora-react/tree/main/packages/image#readme
249
- [@yozora/react-inline-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/inline-code#readme
250
- [@yozora/react-inline-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/inline-math#readme
251
- [@yozora/react-link]: https://github.com/yozorajs/yozora-react/tree/main/packages/link#readme
252
- [@yozora/react-list]: https://github.com/yozorajs/yozora-react/tree/main/packages/list#readme
253
- [@yozora/react-list-item]: https://github.com/yozorajs/yozora-react/tree/main/packages/list-item#readme
254
- [@yozora/react-markdown]: https://github.com/yozorajs/yozora-react/tree/main/packages/markdown#readme
255
- [@yozora/react-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/math#readme
256
- [@yozora/react-paragraph]: https://github.com/yozorajs/yozora-react/tree/main/packages/paragraph#readme
257
- [@yozora/react-strong]: https://github.com/yozorajs/yozora-react/tree/main/packages/strong#readme
258
- [@yozora/react-table]: https://github.com/yozorajs/yozora-react/tree/main/packages/table#readme
259
- [@yozora/react-text]: https://github.com/yozorajs/yozora-react/tree/main/packages/text#readme
260
- [@yozora/react-thematic-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/thematic-break#readme
261
-
262
- [doc-live-examples/gfm]: https://yozora.guanghechen.com/docs/example/gfm
263
- [doc-@yozora/ast]: https://yozora.guanghechen.com/docs/package/ast
264
- [doc-@yozora/ast-util]: https://yozora.guanghechen.com/docs/package/ast-util
265
- [doc-@yozora/core-parser]: https://yozora.guanghechen.com/docs/package/core-parser
266
- [doc-@yozora/core-tokenizer]: https://yozora.guanghechen.com/docs/package/core-tokenizer
267
- [doc-@yozora/parser]: https://yozora.guanghechen.com/docs/package/parser
268
- [doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
269
- [doc-@yozora/parser-gfm-ex]: https://yozora.guanghechen.com/docs/package/parser-gfm-ex
270
- [doc-@yozora/tokenizer-admonition]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
271
- [doc-@yozora/tokenizer-autolink]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink
272
- [doc-@yozora/tokenizer-autolink-extension]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink-extension
273
- [doc-@yozora/tokenizer-blockquote]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
274
- [doc-@yozora/tokenizer-break]: https://yozora.guanghechen.com/docs/package/tokenizer-break
275
- [doc-@yozora/tokenizer-delete]: https://yozora.guanghechen.com/docs/package/tokenizer-delete
276
- [doc-@yozora/tokenizer-emphasis]: https://yozora.guanghechen.com/docs/package/tokenizer-emphasis
277
- [doc-@yozora/tokenizer-fenced-code]: https://yozora.guanghechen.com/docs/package/tokenizer-fenced-code
278
- [doc-@yozora/tokenizer-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-heading
279
- [doc-@yozora/tokenizer-html-block]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
280
- [doc-@yozora/tokenizer-html-inline]: https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
281
- [doc-@yozora/tokenizer-image]: https://yozora.guanghechen.com/docs/package/tokenizer-image
282
- [doc-@yozora/tokenizer-image-reference]: https://yozora.guanghechen.com/docs/package/tokenizer-image-reference
283
- [doc-@yozora/tokenizer-indented-code]: https://yozora.guanghechen.com/docs/package/tokenizer-indented-code
284
- [doc-@yozora/tokenizer-inline-code]: https://yozora.guanghechen.com/docs/package/tokenizer-inline-code
285
- [doc-@yozora/tokenizer-inline-math]: https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
286
- [doc-@yozora/tokenizer-link]: https://yozora.guanghechen.com/docs/package/tokenizer-link
287
- [doc-@yozora/tokenizer-definition]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
288
- [doc-@yozora/tokenizer-link-reference]: https://yozora.guanghechen.com/docs/package/tokenizer-link-reference
289
- [doc-@yozora/tokenizer-list]: https://yozora.guanghechen.com/docs/package/tokenizer-list
290
- [doc-@yozora/tokenizer-math]: https://yozora.guanghechen.com/docs/package/tokenizer-math
291
- [doc-@yozora/tokenizer-paragraph]: https://yozora.guanghechen.com/docs/package/tokenizer-paragraph
292
- [doc-@yozora/tokenizer-setext-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-setext-heading
293
- [doc-@yozora/tokenizer-table]: https://yozora.guanghechen.com/docs/package/tokenizer-table
294
- [doc-@yozora/tokenizer-text]: https://yozora.guanghechen.com/docs/package/tokenizer-text
295
- [doc-@yozora/tokenizer-thematic-break]: https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
296
- [doc-@yozora/jest-for-tokenizer]: https://yozora.guanghechen.com/docs/package/jest-for-tokenizer
297
- [doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
298
-
299
- [gfm-atx-heading]: https://github.github.com/gfm/#atx-heading
300
- [gfm-autolink]: https://github.github.com/gfm/#autolinks
301
- [gfm-autolink-extension]: https://github.github.com/gfm/#autolinks-extension-
302
- [gfm-blockquote]: https://github.github.com/gfm/#block-quotes
303
- [gfm-bullet-list]: https://github.github.com/gfm/#bullet-list
304
- [gfm-delete]: https://github.github.com/gfm/#strikethrough-extension-
305
- [gfm-emphasis]: https://github.github.com/gfm/#can-open-emphasis
306
- [gfm-fenced-code]: https://github.github.com/gfm/#fenced-code-block
307
- [gfm-hard-line-break]: https://github.github.com/gfm/#hard-line-break
308
- [gfm-html-block]: https://github.github.com/gfm/#html-block
309
- [gfm-html-inline]: https://github.github.com/gfm/#raw-html
310
- [gfm-image]: https://github.github.com/gfm/#images
311
- [gfm-image-reference]: https://github.github.com/gfm/#example-590
312
- [gfm-indented-code]: https://github.github.com/gfm/#indented-code-block
313
- [gfm-inline-code]: https://github.github.com/gfm/#code-span
314
- [gfm-link]: https://github.github.com/gfm/#inline-link
315
- [gfm-definition]: https://github.github.com/gfm/#link-reference-definition
316
- [gfm-link-reference]: https://github.github.com/gfm/#reference-link
317
- [gfm-list]: https://github.github.com/gfm/#lists
318
- [gfm-list-item]: https://github.github.com/gfm/#list-items
319
- [gfm-list-task-item]: https://github.github.com/gfm/#task-list-items-extension-
320
- [gfm-paragraph]: https://github.github.com/gfm/#paragraph
321
- [gfm-setext-heading]: https://github.github.com/gfm/#setext-heading
322
- [gfm-soft-line-break]: https://github.github.com/gfm/#soft-line-breaks
323
- [gfm-strong]: https://github.github.com/gfm/#can-open-strong-emphasis
324
- [gfm-tab]: https://github.github.com/gfm/#tabs
325
- [gfm-table]: https://github.github.com/gfm/#table
326
- [gfm-text]: https://github.github.com/gfm/#soft-line-breaks
327
- [gfm-thematic-break]: https://github.github.com/gfm/#thematic-break
186
+ [@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast#readme
187
+ [@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast-util#readme
188
+ [@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/character#readme
189
+ [@yozora/eslint-config]:
190
+ https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
191
+ [@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-parser#readme
192
+ [@yozora/core-tokenizer]:
193
+ https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-tokenizer#readme
194
+ [@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/invariant#readme
195
+ [@yozora/jest-for-tokenizer]:
196
+ https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
197
+ [@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser#readme
198
+ [@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm#readme
199
+ [@yozora/parser-gfm-ex]:
200
+ https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm-ex#readme
201
+ [@yozora/template-tokenizer]:
202
+ https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
203
+ [@yozora/tokenizer-admonition]:
204
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/admonition#readme
205
+ [@yozora/tokenizer-autolink]:
206
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink#readme
207
+ [@yozora/tokenizer-autolink-extension]:
208
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink-extension#readme
209
+ [@yozora/tokenizer-blockquote]:
210
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/blockquote#readme
211
+ [@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/break#readme
212
+ [@yozora/tokenizer-definition]:
213
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/definition#readme
214
+ [@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/delete#readme
215
+ [@yozora/tokenizer-ecma-import]:
216
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/ecma-import#readme
217
+ [@yozora/tokenizer-emphasis]:
218
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/emphasis#readme
219
+ [@yozora/tokenizer-fenced-block]:
220
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-block#readme
221
+ [@yozora/tokenizer-fenced-code]:
222
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-code#readme
223
+ [@yozora/tokenizer-footnote]:
224
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote#readme
225
+ [@yozora/tokenizer-footnote-definition]:
226
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-definition#readme
227
+ [@yozora/tokenizer-footnote-reference]:
228
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-reference#readme
229
+ [@yozora/tokenizer-heading]:
230
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/heading#readme
231
+ [@yozora/tokenizer-html-block]:
232
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-block#readme
233
+ [@yozora/tokenizer-html-inline]:
234
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-inline#readme
235
+ [@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image#readme
236
+ [@yozora/tokenizer-image-reference]:
237
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image-reference#readme
238
+ [@yozora/tokenizer-indented-code]:
239
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/indented-code#readme
240
+ [@yozora/tokenizer-inline-code]:
241
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-code#readme
242
+ [@yozora/tokenizer-inline-math]:
243
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-math#readme
244
+ [@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link#readme
245
+ [@yozora/tokenizer-link-reference]:
246
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link-reference#readme
247
+ [@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/list#readme
248
+ [@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/math#readme
249
+ [@yozora/tokenizer-paragraph]:
250
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/paragraph#readme
251
+ [@yozora/tokenizer-setext-heading]:
252
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/setext-heading#readme
253
+ [@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/table#readme
254
+ [@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/text#readme
255
+ [@yozora/tokenizer-thematic-break]:
256
+ https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/thematic-break#readme
257
+ [@yozora/react-admonition]:
258
+ https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
259
+ [@yozora/react-blockquote]:
260
+ https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
261
+ [@yozora/react-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/break#readme
262
+ [@yozora/react-delete]: https://github.com/yozorajs/yozora-react/tree/main/packages/delete#readme
263
+ [@yozora/react-emphasis]:
264
+ https://github.com/yozorajs/yozora-react/tree/main/packages/emphasis#readme
265
+ [@yozora/react-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/code#readme
266
+ [@yozora/react-code-live]:
267
+ https://github.com/yozorajs/yozora-react/tree/main/packages/code-live#readme
268
+ [@yozora/react-footnote-definitions]:
269
+ https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-definitions#readme
270
+ [@yozora/react-footnote-reference]:
271
+ https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-reference#readme
272
+ [@yozora/react-heading]: https://github.com/yozorajs/yozora-react/tree/main/packages/heading#readme
273
+ [@yozora/react-image]: https://github.com/yozorajs/yozora-react/tree/main/packages/image#readme
274
+ [@yozora/react-inline-code]:
275
+ https://github.com/yozorajs/yozora-react/tree/main/packages/inline-code#readme
276
+ [@yozora/react-inline-math]:
277
+ https://github.com/yozorajs/yozora-react/tree/main/packages/inline-math#readme
278
+ [@yozora/react-link]: https://github.com/yozorajs/yozora-react/tree/main/packages/link#readme
279
+ [@yozora/react-list]: https://github.com/yozorajs/yozora-react/tree/main/packages/list#readme
280
+ [@yozora/react-list-item]:
281
+ https://github.com/yozorajs/yozora-react/tree/main/packages/list-item#readme
282
+ [@yozora/react-markdown]:
283
+ https://github.com/yozorajs/yozora-react/tree/main/packages/markdown#readme
284
+ [@yozora/react-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/math#readme
285
+ [@yozora/react-paragraph]:
286
+ https://github.com/yozorajs/yozora-react/tree/main/packages/paragraph#readme
287
+ [@yozora/react-strong]: https://github.com/yozorajs/yozora-react/tree/main/packages/strong#readme
288
+ [@yozora/react-table]: https://github.com/yozorajs/yozora-react/tree/main/packages/table#readme
289
+ [@yozora/react-text]: https://github.com/yozorajs/yozora-react/tree/main/packages/text#readme
290
+ [@yozora/react-thematic-break]:
291
+ https://github.com/yozorajs/yozora-react/tree/main/packages/thematic-break#readme
292
+ [doc-live-examples/gfm]: https://yozora.guanghechen.com/docs/example/gfm
293
+ [doc-@yozora/ast]: https://yozora.guanghechen.com/docs/package/ast
294
+ [doc-@yozora/ast-util]: https://yozora.guanghechen.com/docs/package/ast-util
295
+ [doc-@yozora/core-parser]: https://yozora.guanghechen.com/docs/package/core-parser
296
+ [doc-@yozora/core-tokenizer]: https://yozora.guanghechen.com/docs/package/core-tokenizer
297
+ [doc-@yozora/parser]: https://yozora.guanghechen.com/docs/package/parser
298
+ [doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
299
+ [doc-@yozora/parser-gfm-ex]: https://yozora.guanghechen.com/docs/package/parser-gfm-ex
300
+ [doc-@yozora/tokenizer-admonition]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
301
+ [doc-@yozora/tokenizer-autolink]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink
302
+ [doc-@yozora/tokenizer-autolink-extension]:
303
+ https://yozora.guanghechen.com/docs/package/tokenizer-autolink-extension
304
+ [doc-@yozora/tokenizer-blockquote]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
305
+ [doc-@yozora/tokenizer-break]: https://yozora.guanghechen.com/docs/package/tokenizer-break
306
+ [doc-@yozora/tokenizer-delete]: https://yozora.guanghechen.com/docs/package/tokenizer-delete
307
+ [doc-@yozora/tokenizer-emphasis]: https://yozora.guanghechen.com/docs/package/tokenizer-emphasis
308
+ [doc-@yozora/tokenizer-fenced-code]:
309
+ https://yozora.guanghechen.com/docs/package/tokenizer-fenced-code
310
+ [doc-@yozora/tokenizer-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-heading
311
+ [doc-@yozora/tokenizer-html-block]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
312
+ [doc-@yozora/tokenizer-html-inline]:
313
+ https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
314
+ [doc-@yozora/tokenizer-image]: https://yozora.guanghechen.com/docs/package/tokenizer-image
315
+ [doc-@yozora/tokenizer-image-reference]:
316
+ https://yozora.guanghechen.com/docs/package/tokenizer-image-reference
317
+ [doc-@yozora/tokenizer-indented-code]:
318
+ https://yozora.guanghechen.com/docs/package/tokenizer-indented-code
319
+ [doc-@yozora/tokenizer-inline-code]:
320
+ https://yozora.guanghechen.com/docs/package/tokenizer-inline-code
321
+ [doc-@yozora/tokenizer-inline-math]:
322
+ https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
323
+ [doc-@yozora/tokenizer-link]: https://yozora.guanghechen.com/docs/package/tokenizer-link
324
+ [doc-@yozora/tokenizer-definition]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
325
+ [doc-@yozora/tokenizer-link-reference]:
326
+ https://yozora.guanghechen.com/docs/package/tokenizer-link-reference
327
+ [doc-@yozora/tokenizer-list]: https://yozora.guanghechen.com/docs/package/tokenizer-list
328
+ [doc-@yozora/tokenizer-math]: https://yozora.guanghechen.com/docs/package/tokenizer-math
329
+ [doc-@yozora/tokenizer-paragraph]: https://yozora.guanghechen.com/docs/package/tokenizer-paragraph
330
+ [doc-@yozora/tokenizer-setext-heading]:
331
+ https://yozora.guanghechen.com/docs/package/tokenizer-setext-heading
332
+ [doc-@yozora/tokenizer-table]: https://yozora.guanghechen.com/docs/package/tokenizer-table
333
+ [doc-@yozora/tokenizer-text]: https://yozora.guanghechen.com/docs/package/tokenizer-text
334
+ [doc-@yozora/tokenizer-thematic-break]:
335
+ https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
336
+ [doc-@yozora/jest-for-tokenizer]: https://yozora.guanghechen.com/docs/package/jest-for-tokenizer
337
+ [doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
338
+ [gfm-atx-heading]: https://github.github.com/gfm/#atx-heading
339
+ [gfm-autolink]: https://github.github.com/gfm/#autolinks
340
+ [gfm-autolink-extension]: https://github.github.com/gfm/#autolinks-extension-
341
+ [gfm-blockquote]: https://github.github.com/gfm/#block-quotes
342
+ [gfm-bullet-list]: https://github.github.com/gfm/#bullet-list
343
+ [gfm-delete]: https://github.github.com/gfm/#strikethrough-extension-
344
+ [gfm-emphasis]: https://github.github.com/gfm/#can-open-emphasis
345
+ [gfm-fenced-code]: https://github.github.com/gfm/#fenced-code-block
346
+ [gfm-hard-line-break]: https://github.github.com/gfm/#hard-line-break
347
+ [gfm-html-block]: https://github.github.com/gfm/#html-block
348
+ [gfm-html-inline]: https://github.github.com/gfm/#raw-html
349
+ [gfm-image]: https://github.github.com/gfm/#images
350
+ [gfm-image-reference]: https://github.github.com/gfm/#example-590
351
+ [gfm-indented-code]: https://github.github.com/gfm/#indented-code-block
352
+ [gfm-inline-code]: https://github.github.com/gfm/#code-span
353
+ [gfm-link]: https://github.github.com/gfm/#inline-link
354
+ [gfm-definition]: https://github.github.com/gfm/#link-reference-definition
355
+ [gfm-link-reference]: https://github.github.com/gfm/#reference-link
356
+ [gfm-list]: https://github.github.com/gfm/#lists
357
+ [gfm-list-item]: https://github.github.com/gfm/#list-items
358
+ [gfm-list-task-item]: https://github.github.com/gfm/#task-list-items-extension-
359
+ [gfm-paragraph]: https://github.github.com/gfm/#paragraph
360
+ [gfm-setext-heading]: https://github.github.com/gfm/#setext-heading
361
+ [gfm-soft-line-break]: https://github.github.com/gfm/#soft-line-breaks
362
+ [gfm-strong]: https://github.github.com/gfm/#can-open-strong-emphasis
363
+ [gfm-tab]: https://github.github.com/gfm/#tabs
364
+ [gfm-table]: https://github.github.com/gfm/#table
365
+ [gfm-text]: https://github.github.com/gfm/#soft-line-breaks
366
+ [gfm-thematic-break]: https://github.github.com/gfm/#thematic-break
328
367
 
329
368
  <!-- :end -->
package/lib/cjs/index.cjs CHANGED
@@ -167,3 +167,4 @@ exports.InlineMathTokenizerName = uniqueName;
167
167
  exports.default = InlineMathTokenizer;
168
168
  exports.inlineMathMatch = match;
169
169
  exports.inlineMathParse = parse;
170
+ //# sourceMappingURL=index.cjs.map
package/lib/esm/index.mjs CHANGED
@@ -159,3 +159,4 @@ class InlineMathTokenizer extends BaseInlineTokenizer {
159
159
  }
160
160
 
161
161
  export { InlineMathTokenizer, uniqueName as InlineMathTokenizerName, InlineMathTokenizer as default, match as inlineMathMatch, parse as inlineMathParse };
162
+ //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-inline-math",
3
- "version": "2.2.0",
3
+ "version": "2.3.1",
4
4
  "description": "Tokenizer for processing inline math (formulas)",
5
5
  "author": {
6
6
  "name": "guanghechen",
@@ -11,7 +11,7 @@
11
11
  "url": "https://github.com/yozorajs/yozora.git",
12
12
  "directory": "tokenizers/inline-math"
13
13
  },
14
- "homepage": "https://github.com/yozorajs/yozora/tree/v2.1.5/tokenizers/inline-math",
14
+ "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.0/tokenizers/inline-math",
15
15
  "keywords": [
16
16
  "yozora",
17
17
  "markdown",
@@ -43,18 +43,10 @@
43
43
  "LICENSE",
44
44
  "README.md"
45
45
  ],
46
- "scripts": {
47
- "build": "rimraf lib/ && cross-env NODE_ENV=production rollup -c ../../rollup.config.mjs",
48
- "prepublishOnly": "cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build",
49
- "test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
50
- },
51
46
  "dependencies": {
52
- "@yozora/ast": "^2.2.0",
53
- "@yozora/character": "^2.2.0",
54
- "@yozora/core-tokenizer": "^2.2.0"
55
- },
56
- "devDependencies": {
57
- "@yozora/tokenizer-inline-code": "^2.2.0"
47
+ "@yozora/ast": "^2.3.1",
48
+ "@yozora/character": "^2.3.1",
49
+ "@yozora/core-tokenizer": "^2.3.1"
58
50
  },
59
- "gitHead": "3454cd9f3b0f7ca5d105978ba042070501512dae"
51
+ "gitHead": "eaea7c3649e7e7886a1c3a85125b8c6268fdab20"
60
52
  }