@isdk/mdast-plus 0.2.2 → 0.2.3
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/dist/index.d.mts +13 -6
- package/dist/index.d.ts +13 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/_media/CONTRIBUTING.md +35 -0
- package/docs/classes/MdastBasePipeline.md +25 -25
- package/docs/classes/MdastPipeline.md +32 -32
- package/docs/enumerations/PipelineStage.md +6 -6
- package/docs/functions/astCompiler.md +1 -1
- package/docs/functions/jsonParser.md +1 -1
- package/docs/functions/mdast.md +1 -1
- package/docs/interfaces/MdastDataOrigin.md +4 -4
- package/docs/interfaces/MdastFormat.md +7 -7
- package/docs/interfaces/MdastMark.md +3 -3
- package/docs/interfaces/MdastPlugin.md +9 -9
- package/docs/interfaces/MdastSub.md +3 -3
- package/docs/interfaces/MdastSup.md +3 -3
- package/docs/interfaces/PipelineRunOptions.md +4 -4
- package/docs/interfaces/ReadabilityOptions.md +6 -6
- package/docs/type-aliases/PipelineStageName.md +1 -1
- package/docs/variables/DefaultPipelineStage.md +1 -1
- package/docs/variables/astFormat.md +1 -1
- package/docs/variables/htmlFormat.md +1 -1
- package/docs/variables/htmlReadability.md +1 -1
- package/docs/variables/htmlReadabilityPlugin.md +1 -1
- package/docs/variables/htmlReadabilityPlugins.md +1 -1
- package/docs/variables/markdownFormat.md +1 -1
- package/docs/variables/restoreReadabilityMetaPlugin.md +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: MdastPipeline
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
9
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:575](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L575)
|
|
10
10
|
|
|
11
11
|
Extended pipeline with convenience methods for common formats.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Extended pipeline with convenience methods for common formats.
|
|
|
20
20
|
|
|
21
21
|
> **new MdastPipeline**(`input`): `MdastPipeline`
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
23
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:70](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L70)
|
|
24
24
|
|
|
25
25
|
Initializes a new pipeline instance with the given input.
|
|
26
26
|
|
|
@@ -46,7 +46,7 @@ Content to process (string, Buffer, VFile, or AST Node).
|
|
|
46
46
|
|
|
47
47
|
> `protected` **\_data**: `Record`\<`string`, `any`\> = `{}`
|
|
48
48
|
|
|
49
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
49
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:64](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L64)
|
|
50
50
|
|
|
51
51
|
#### Inherited from
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ Defined in: [packages/mdast-plus/src/pipeline.ts:48](https://github.com/isdk/mda
|
|
|
58
58
|
|
|
59
59
|
> `protected` **input**: `Compatible`
|
|
60
60
|
|
|
61
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
61
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:62](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L62)
|
|
62
62
|
|
|
63
63
|
#### Inherited from
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ Defined in: [packages/mdast-plus/src/pipeline.ts:46](https://github.com/isdk/mda
|
|
|
70
70
|
|
|
71
71
|
> `protected` **queue**: [`MdastPlugin`](../interfaces/MdastPlugin.md)[] = `[]`
|
|
72
72
|
|
|
73
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
73
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:63](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L63)
|
|
74
74
|
|
|
75
75
|
#### Inherited from
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ Defined in: [packages/mdast-plus/src/pipeline.ts:47](https://github.com/isdk/mda
|
|
|
82
82
|
|
|
83
83
|
> `protected` **assembleProcessor**(`queue`): `Processor`
|
|
84
84
|
|
|
85
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
85
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:494](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L494)
|
|
86
86
|
|
|
87
87
|
Assembles a unified processor based on the sorted plugin queue.
|
|
88
88
|
|
|
@@ -106,7 +106,7 @@ Assembles a unified processor based on the sorted plugin queue.
|
|
|
106
106
|
|
|
107
107
|
> **configure**(`pluginName`, ...`options`): `this`
|
|
108
108
|
|
|
109
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
109
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:478](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L478)
|
|
110
110
|
|
|
111
111
|
Modifies the options of a plugin that is already in the pipeline queue.
|
|
112
112
|
Searches from the end of the queue and updates the first match found.
|
|
@@ -142,7 +142,7 @@ The pipeline instance for chaining.
|
|
|
142
142
|
|
|
143
143
|
> **data**(`key`, `value?`): `this`
|
|
144
144
|
|
|
145
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
145
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:80](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L80)
|
|
146
146
|
|
|
147
147
|
Configures global data for the pipeline, which will be available to all plugins via this.data().
|
|
148
148
|
|
|
@@ -176,7 +176,7 @@ The pipeline instance for chaining.
|
|
|
176
176
|
|
|
177
177
|
> `protected` **ensureInputPlugins**(`queue`, `overrides?`, `maxStage?`): `void`
|
|
178
178
|
|
|
179
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
179
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:165](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L165)
|
|
180
180
|
|
|
181
181
|
Ensures that input plugins (parser, normalizers) are present in the queue.
|
|
182
182
|
Adds implicit plugins if no parser is detected.
|
|
@@ -209,7 +209,7 @@ Adds implicit plugins if no parser is detected.
|
|
|
209
209
|
|
|
210
210
|
> **from**(`fmt`, `overrides?`): `this`
|
|
211
211
|
|
|
212
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
212
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:194](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L194)
|
|
213
213
|
|
|
214
214
|
Configures the input format and adds its associated plugins to the pipeline.
|
|
215
215
|
|
|
@@ -243,7 +243,7 @@ The pipeline instance for chaining.
|
|
|
243
243
|
|
|
244
244
|
> **getFormat**(`id`): `undefined` \| [`MdastFormat`](../interfaces/MdastFormat.md)
|
|
245
245
|
|
|
246
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
246
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:92](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L92)
|
|
247
247
|
|
|
248
248
|
Instance-level access to the global format registry.
|
|
249
249
|
|
|
@@ -267,7 +267,7 @@ Instance-level access to the global format registry.
|
|
|
267
267
|
|
|
268
268
|
> **priority**(`order`): `this`
|
|
269
269
|
|
|
270
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
270
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:461](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L461)
|
|
271
271
|
|
|
272
272
|
Sets the priority order for the most recently added plugin.
|
|
273
273
|
Plugins with lower order run earlier within the same stage.
|
|
@@ -296,7 +296,7 @@ The pipeline instance for chaining.
|
|
|
296
296
|
|
|
297
297
|
> `protected` **resolveRunQueue**(`format`, `overrides?`, `stage?`, `stopAtIndex?`): [`MdastPlugin`](../interfaces/MdastPlugin.md)[]
|
|
298
298
|
|
|
299
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
299
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:214](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L214)
|
|
300
300
|
|
|
301
301
|
Resolves the final plugin queue for execution based on the target format and run options.
|
|
302
302
|
Calculates the effective plugin list by applying overrides, handling partial execution (stage/stopAtIndex),
|
|
@@ -334,7 +334,7 @@ and injecting necessary input/output plugins.
|
|
|
334
334
|
|
|
335
335
|
> **to**(`fmt`, `optionsOrOverrides?`): `Promise`\<`VFile`\>
|
|
336
336
|
|
|
337
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
337
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:290](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L290)
|
|
338
338
|
|
|
339
339
|
Processes the pipeline and serializes the result into the specified format.
|
|
340
340
|
|
|
@@ -368,7 +368,7 @@ A promise resolving to a VFile containing the result.
|
|
|
368
368
|
|
|
369
369
|
> **toAst**(`options?`): `Promise`\<`Root`\>
|
|
370
370
|
|
|
371
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
371
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:613](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L613)
|
|
372
372
|
|
|
373
373
|
Finalizes the pipeline and returns the resulting AST (Root node).
|
|
374
374
|
|
|
@@ -390,7 +390,7 @@ Configuration for the extraction.
|
|
|
390
390
|
|
|
391
391
|
> **toAST**(`options?`): `Promise`\<`Root`\>
|
|
392
392
|
|
|
393
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
393
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:621](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L621)
|
|
394
394
|
|
|
395
395
|
Alias for toAst()
|
|
396
396
|
|
|
@@ -420,7 +420,7 @@ Alias for toAst()
|
|
|
420
420
|
|
|
421
421
|
> **toHtml**(): `Promise`\<`string`\>
|
|
422
422
|
|
|
423
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
423
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:594](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L594)
|
|
424
424
|
|
|
425
425
|
Finalizes the pipeline and returns the result as an HTML string.
|
|
426
426
|
|
|
@@ -434,7 +434,7 @@ Finalizes the pipeline and returns the result as an HTML string.
|
|
|
434
434
|
|
|
435
435
|
> **toHTML**(): `Promise`\<`string`\>
|
|
436
436
|
|
|
437
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
437
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:619](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L619)
|
|
438
438
|
|
|
439
439
|
Alias for toHtml()
|
|
440
440
|
|
|
@@ -448,7 +448,7 @@ Alias for toHtml()
|
|
|
448
448
|
|
|
449
449
|
> **toHtmlVFile**(): `Promise`\<`VFile`\>
|
|
450
450
|
|
|
451
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
451
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:602](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L602)
|
|
452
452
|
|
|
453
453
|
Finalizes the pipeline and returns a VFile containing the HTML result.
|
|
454
454
|
|
|
@@ -462,7 +462,7 @@ Finalizes the pipeline and returns a VFile containing the HTML result.
|
|
|
462
462
|
|
|
463
463
|
> **toMarkdown**(): `Promise`\<`string`\>
|
|
464
464
|
|
|
465
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
465
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:579](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L579)
|
|
466
466
|
|
|
467
467
|
Finalizes the pipeline and returns the result as a Markdown string.
|
|
468
468
|
|
|
@@ -476,7 +476,7 @@ Finalizes the pipeline and returns the result as a Markdown string.
|
|
|
476
476
|
|
|
477
477
|
> **toMarkdownVFile**(): `Promise`\<`VFile`\>
|
|
478
478
|
|
|
479
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
479
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:587](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L587)
|
|
480
480
|
|
|
481
481
|
Finalizes the pipeline and returns a VFile containing the Markdown result.
|
|
482
482
|
|
|
@@ -490,7 +490,7 @@ Finalizes the pipeline and returns a VFile containing the Markdown result.
|
|
|
490
490
|
|
|
491
491
|
> `protected` **toRuntimeEntry**(`entry`, `defaultStage`, `overrides?`): [`MdastPlugin`](../interfaces/MdastPlugin.md) & `object`
|
|
492
492
|
|
|
493
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
493
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:116](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L116)
|
|
494
494
|
|
|
495
495
|
Normalizes a plugin entry for runtime execution.
|
|
496
496
|
|
|
@@ -522,7 +522,7 @@ Normalizes a plugin entry for runtime execution.
|
|
|
522
522
|
|
|
523
523
|
> **use**(`plugin`, ...`options`): `this`
|
|
524
524
|
|
|
525
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
525
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:336](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L336)
|
|
526
526
|
|
|
527
527
|
Adds a plugin or an array of plugins to the pipeline's compile stage.
|
|
528
528
|
|
|
@@ -532,7 +532,7 @@ Adds a plugin or an array of plugins to the pipeline's compile stage.
|
|
|
532
532
|
|
|
533
533
|
The unified plugin function, a MdastPlugin object, or an array of them.
|
|
534
534
|
|
|
535
|
-
[`MdastPlugin`](../interfaces/MdastPlugin.md) | `
|
|
535
|
+
[`MdastPlugin`](../interfaces/MdastPlugin.md) | `Pluggable` | `PluggableList` | MdastPlugin \| Pluggable[]
|
|
536
536
|
|
|
537
537
|
##### options
|
|
538
538
|
|
|
@@ -558,7 +558,7 @@ The pipeline instance for chaining.
|
|
|
558
558
|
|
|
559
559
|
> **useAt**(`stage`, `plugin`, ...`options`): `this`
|
|
560
560
|
|
|
561
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
561
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:418](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L418)
|
|
562
562
|
|
|
563
563
|
Adds a plugin or an array of plugins to the pipeline at a specific stage.
|
|
564
564
|
|
|
@@ -574,7 +574,7 @@ The stage name or numeric value.
|
|
|
574
574
|
|
|
575
575
|
The unified plugin function, a MdastPlugin object, or an array of them.
|
|
576
576
|
|
|
577
|
-
[`MdastPlugin`](../interfaces/MdastPlugin.md) | `
|
|
577
|
+
[`MdastPlugin`](../interfaces/MdastPlugin.md) | `Pluggable` | `PluggableList` | MdastPlugin \| Pluggable[]
|
|
578
578
|
|
|
579
579
|
###### options
|
|
580
580
|
|
|
@@ -596,17 +596,17 @@ The pipeline instance for chaining.
|
|
|
596
596
|
|
|
597
597
|
> **useAt**(`plugin`, ...`options`): `this`
|
|
598
598
|
|
|
599
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
599
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:425](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L425)
|
|
600
600
|
|
|
601
|
-
Adds a plugin or an array of plugins to the pipeline. The stage is taken from the plugin object(s).
|
|
601
|
+
Adds a plugin or an array of plugins to the pipeline. The stage is taken from the plugin object(s) or defaults to 'compile'.
|
|
602
602
|
|
|
603
603
|
##### Parameters
|
|
604
604
|
|
|
605
605
|
###### plugin
|
|
606
606
|
|
|
607
|
-
The MdastPlugin object or an array of them.
|
|
607
|
+
The MdastPlugin object or an array of them, or a standard unified Pluggable.
|
|
608
608
|
|
|
609
|
-
[`MdastPlugin`](../interfaces/MdastPlugin.md) | [`MdastPlugin`](../interfaces/MdastPlugin.md)[]
|
|
609
|
+
[`MdastPlugin`](../interfaces/MdastPlugin.md) | [`MdastPlugin`](../interfaces/MdastPlugin.md)[] | `Pluggable` | `PluggableList`
|
|
610
610
|
|
|
611
611
|
###### options
|
|
612
612
|
|
|
@@ -630,7 +630,7 @@ The pipeline instance for chaining.
|
|
|
630
630
|
|
|
631
631
|
> `static` **getFormat**(`id`): `undefined` \| [`MdastFormat`](../interfaces/MdastFormat.md)
|
|
632
632
|
|
|
633
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
633
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:58](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L58)
|
|
634
634
|
|
|
635
635
|
Retrieves a registered format by its ID.
|
|
636
636
|
|
|
@@ -658,7 +658,7 @@ The format definition or undefined if not found.
|
|
|
658
658
|
|
|
659
659
|
> `static` **register**(`format`): `void`
|
|
660
660
|
|
|
661
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
661
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:49](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L49)
|
|
662
662
|
|
|
663
663
|
Registers a global document format.
|
|
664
664
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Enumeration: PipelineStage
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/types.ts:10](https://github.com/isdk/mdast-plus.js/blob/
|
|
9
|
+
Defined in: [packages/mdast-plus/src/types.ts:10](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L10)
|
|
10
10
|
|
|
11
11
|
PipelineStage defines the execution order of plugins in the processing pipeline.
|
|
12
12
|
Plugins are sorted and executed in ascending order based on these stage values.
|
|
@@ -17,7 +17,7 @@ Plugins are sorted and executed in ascending order based on these stage values.
|
|
|
17
17
|
|
|
18
18
|
> **compile**: `200`
|
|
19
19
|
|
|
20
|
-
Defined in: [packages/mdast-plus/src/types.ts:16](https://github.com/isdk/mdast-plus.js/blob/
|
|
20
|
+
Defined in: [packages/mdast-plus/src/types.ts:16](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L16)
|
|
21
21
|
|
|
22
22
|
Transformation stage for semantic changes and custom high-level logic.
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@ Transformation stage for semantic changes and custom high-level logic.
|
|
|
27
27
|
|
|
28
28
|
> **finalize**: `300`
|
|
29
29
|
|
|
30
|
-
Defined in: [packages/mdast-plus/src/types.ts:18](https://github.com/isdk/mdast-plus.js/blob/
|
|
30
|
+
Defined in: [packages/mdast-plus/src/types.ts:18](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L18)
|
|
31
31
|
|
|
32
32
|
Finalization stage for preparing the AST for output (e.g., Sanitize, bridge to HAST).
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ Finalization stage for preparing the AST for output (e.g., Sanitize, bridge to H
|
|
|
37
37
|
|
|
38
38
|
> **normalize**: `100`
|
|
39
39
|
|
|
40
|
-
Defined in: [packages/mdast-plus/src/types.ts:14](https://github.com/isdk/mdast-plus.js/blob/
|
|
40
|
+
Defined in: [packages/mdast-plus/src/types.ts:14](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L14)
|
|
41
41
|
|
|
42
42
|
Normalization stage for cleaning up and canonicalizing the AST (e.g., GFM, Directives).
|
|
43
43
|
|
|
@@ -47,7 +47,7 @@ Normalization stage for cleaning up and canonicalizing the AST (e.g., GFM, Direc
|
|
|
47
47
|
|
|
48
48
|
> **parse**: `0`
|
|
49
49
|
|
|
50
|
-
Defined in: [packages/mdast-plus/src/types.ts:12](https://github.com/isdk/mdast-plus.js/blob/
|
|
50
|
+
Defined in: [packages/mdast-plus/src/types.ts:12](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L12)
|
|
51
51
|
|
|
52
52
|
Initial stage for parsing raw input (e.g., string to AST).
|
|
53
53
|
|
|
@@ -57,6 +57,6 @@ Initial stage for parsing raw input (e.g., string to AST).
|
|
|
57
57
|
|
|
58
58
|
> **stringify**: `400`
|
|
59
59
|
|
|
60
|
-
Defined in: [packages/mdast-plus/src/types.ts:20](https://github.com/isdk/mdast-plus.js/blob/
|
|
60
|
+
Defined in: [packages/mdast-plus/src/types.ts:20](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L20)
|
|
61
61
|
|
|
62
62
|
Final stage for serializing the AST to the target format result.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **astCompiler**(`this`): `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/mdast-plus/src/formats/ast.ts:16](https://github.com/isdk/mdast-plus.js/blob/
|
|
11
|
+
Defined in: [packages/mdast-plus/src/formats/ast.ts:16](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/formats/ast.ts#L16)
|
|
12
12
|
|
|
13
13
|
Pass-through compiler that returns the AST as-is.
|
|
14
14
|
Essential for unified processes that should output an object (the AST)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **jsonParser**(`this`): `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/mdast-plus/src/formats/ast.ts:24](https://github.com/isdk/mdast-plus.js/blob/
|
|
11
|
+
Defined in: [packages/mdast-plus/src/formats/ast.ts:24](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/formats/ast.ts#L24)
|
|
12
12
|
|
|
13
13
|
Parser for stringified JSON AST input.
|
|
14
14
|
Allows the pipeline to accept a JSON string and treat it as a unist tree.
|
package/docs/functions/mdast.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **mdast**(`input`): [`MdastPipeline`](../classes/MdastPipeline.md)
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/mdast-plus/src/pipeline.ts:
|
|
11
|
+
Defined in: [packages/mdast-plus/src/pipeline.ts:633](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/pipeline.ts#L633)
|
|
12
12
|
|
|
13
13
|
Entry point for the fluent mdast-plus API.
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: MdastDataOrigin
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/types.ts:107](https://github.com/isdk/mdast-plus.js/blob/
|
|
9
|
+
Defined in: [packages/mdast-plus/src/types.ts:107](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L107)
|
|
10
10
|
|
|
11
11
|
Metadata capturing the origin of a node during conversion.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Metadata capturing the origin of a node during conversion.
|
|
|
20
20
|
|
|
21
21
|
> **format**: `string`
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/mdast-plus/src/types.ts:109](https://github.com/isdk/mdast-plus.js/blob/
|
|
23
|
+
Defined in: [packages/mdast-plus/src/types.ts:109](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L109)
|
|
24
24
|
|
|
25
25
|
The original source format.
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The original source format.
|
|
|
30
30
|
|
|
31
31
|
> `optional` **hash**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/mdast-plus/src/types.ts:113](https://github.com/isdk/mdast-plus.js/blob/
|
|
33
|
+
Defined in: [packages/mdast-plus/src/types.ts:113](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L113)
|
|
34
34
|
|
|
35
35
|
Hash used for caching or change detection.
|
|
36
36
|
|
|
@@ -40,6 +40,6 @@ Hash used for caching or change detection.
|
|
|
40
40
|
|
|
41
41
|
> `optional` **raw**: `unknown`
|
|
42
42
|
|
|
43
|
-
Defined in: [packages/mdast-plus/src/types.ts:111](https://github.com/isdk/mdast-plus.js/blob/
|
|
43
|
+
Defined in: [packages/mdast-plus/src/types.ts:111](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L111)
|
|
44
44
|
|
|
45
45
|
The raw content from the source before conversion.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: MdastFormat
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/types.ts:66](https://github.com/isdk/mdast-plus.js/blob/
|
|
9
|
+
Defined in: [packages/mdast-plus/src/types.ts:66](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L66)
|
|
10
10
|
|
|
11
11
|
Defines a document format, encompassing its input (parsing) and output (serialization) strategies.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Defines a document format, encompassing its input (parsing) and output (serializ
|
|
|
16
16
|
|
|
17
17
|
> `optional` **extensions**: `string`[]
|
|
18
18
|
|
|
19
|
-
Defined in: [packages/mdast-plus/src/types.ts:72](https://github.com/isdk/mdast-plus.js/blob/
|
|
19
|
+
Defined in: [packages/mdast-plus/src/types.ts:72](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L72)
|
|
20
20
|
|
|
21
21
|
File extensions associated with this format.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ File extensions associated with this format.
|
|
|
26
26
|
|
|
27
27
|
> **id**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/mdast-plus/src/types.ts:68](https://github.com/isdk/mdast-plus.js/blob/
|
|
29
|
+
Defined in: [packages/mdast-plus/src/types.ts:68](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L68)
|
|
30
30
|
|
|
31
31
|
Unique identifier for the format (e.g., 'markdown', 'html').
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ Unique identifier for the format (e.g., 'markdown', 'html').
|
|
|
36
36
|
|
|
37
37
|
> `optional` **input**: [`MdastPlugin`](MdastPlugin.md)[]
|
|
38
38
|
|
|
39
|
-
Defined in: [packages/mdast-plus/src/types.ts:77](https://github.com/isdk/mdast-plus.js/blob/
|
|
39
|
+
Defined in: [packages/mdast-plus/src/types.ts:77](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L77)
|
|
40
40
|
|
|
41
41
|
Plugins used for reading this format into a standard AST (Parser + Normalizer).
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ Plugins used for reading this format into a standard AST (Parser + Normalizer).
|
|
|
46
46
|
|
|
47
47
|
> `optional` **mediaTypes**: `string`[]
|
|
48
48
|
|
|
49
|
-
Defined in: [packages/mdast-plus/src/types.ts:74](https://github.com/isdk/mdast-plus.js/blob/
|
|
49
|
+
Defined in: [packages/mdast-plus/src/types.ts:74](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L74)
|
|
50
50
|
|
|
51
51
|
MIME types associated with this format.
|
|
52
52
|
|
|
@@ -56,7 +56,7 @@ MIME types associated with this format.
|
|
|
56
56
|
|
|
57
57
|
> `optional` **output**: [`MdastPlugin`](MdastPlugin.md)[]
|
|
58
58
|
|
|
59
|
-
Defined in: [packages/mdast-plus/src/types.ts:80](https://github.com/isdk/mdast-plus.js/blob/
|
|
59
|
+
Defined in: [packages/mdast-plus/src/types.ts:80](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L80)
|
|
60
60
|
|
|
61
61
|
Plugins used for serializing the AST into this format (Finalizer + Stringifier).
|
|
62
62
|
|
|
@@ -66,6 +66,6 @@ Plugins used for serializing the AST into this format (Finalizer + Stringifier).
|
|
|
66
66
|
|
|
67
67
|
> `optional` **title**: `string`
|
|
68
68
|
|
|
69
|
-
Defined in: [packages/mdast-plus/src/types.ts:70](https://github.com/isdk/mdast-plus.js/blob/
|
|
69
|
+
Defined in: [packages/mdast-plus/src/types.ts:70](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L70)
|
|
70
70
|
|
|
71
71
|
Human-readable title.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: MdastMark
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/types.ts:118](https://github.com/isdk/mdast-plus.js/blob/
|
|
9
|
+
Defined in: [packages/mdast-plus/src/types.ts:118](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L118)
|
|
10
10
|
|
|
11
11
|
Represents a highlighted text (mark) node in mdast.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Represents a highlighted text (mark) node in mdast.
|
|
|
20
20
|
|
|
21
21
|
> **children**: `PhrasingContent`[]
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/mdast-plus/src/types.ts:120](https://github.com/isdk/mdast-plus.js/blob/
|
|
23
|
+
Defined in: [packages/mdast-plus/src/types.ts:120](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L120)
|
|
24
24
|
|
|
25
25
|
List of children.
|
|
26
26
|
|
|
@@ -65,7 +65,7 @@ have a position.
|
|
|
65
65
|
|
|
66
66
|
> **type**: `"mark"`
|
|
67
67
|
|
|
68
|
-
Defined in: [packages/mdast-plus/src/types.ts:119](https://github.com/isdk/mdast-plus.js/blob/
|
|
68
|
+
Defined in: [packages/mdast-plus/src/types.ts:119](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L119)
|
|
69
69
|
|
|
70
70
|
Node type.
|
|
71
71
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: MdastPlugin
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/types.ts:33](https://github.com/isdk/mdast-plus.js/blob/
|
|
9
|
+
Defined in: [packages/mdast-plus/src/types.ts:33](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L33)
|
|
10
10
|
|
|
11
11
|
Configuration for a plugin within the mdast-plus pipeline.
|
|
12
12
|
It wraps a standard unified plugin with execution metadata.
|
|
@@ -17,7 +17,7 @@ It wraps a standard unified plugin with execution metadata.
|
|
|
17
17
|
|
|
18
18
|
> `optional` **after**: `string`
|
|
19
19
|
|
|
20
|
-
Defined in: [packages/mdast-plus/src/types.ts:60](https://github.com/isdk/mdast-plus.js/blob/
|
|
20
|
+
Defined in: [packages/mdast-plus/src/types.ts:60](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L60)
|
|
21
21
|
|
|
22
22
|
Run this plugin after the named plugin (within the same stage).
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@ Run this plugin after the named plugin (within the same stage).
|
|
|
27
27
|
|
|
28
28
|
> `optional` **before**: `string`
|
|
29
29
|
|
|
30
|
-
Defined in: [packages/mdast-plus/src/types.ts:58](https://github.com/isdk/mdast-plus.js/blob/
|
|
30
|
+
Defined in: [packages/mdast-plus/src/types.ts:58](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L58)
|
|
31
31
|
|
|
32
32
|
Run this plugin before the named plugin (within the same stage).
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ Run this plugin before the named plugin (within the same stage).
|
|
|
37
37
|
|
|
38
38
|
> `optional` **main**: `boolean`
|
|
39
39
|
|
|
40
|
-
Defined in: [packages/mdast-plus/src/types.ts:56](https://github.com/isdk/mdast-plus.js/blob/
|
|
40
|
+
Defined in: [packages/mdast-plus/src/types.ts:56](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L56)
|
|
41
41
|
|
|
42
42
|
If true, this plugin is considered the "main" plugin for its stage.
|
|
43
43
|
When multiple plugins exist in the same stage, a 'main' plugin will
|
|
@@ -49,7 +49,7 @@ replace the default (first) plugin of that stage.
|
|
|
49
49
|
|
|
50
50
|
> `optional` **name**: `string`
|
|
51
51
|
|
|
52
|
-
Defined in: [packages/mdast-plus/src/types.ts:39](https://github.com/isdk/mdast-plus.js/blob/
|
|
52
|
+
Defined in: [packages/mdast-plus/src/types.ts:39](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L39)
|
|
53
53
|
|
|
54
54
|
Optional name for the plugin.
|
|
55
55
|
Used for identification in overrides and logging.
|
|
@@ -61,7 +61,7 @@ If not provided, defaults to the plugin function's name.
|
|
|
61
61
|
|
|
62
62
|
> `optional` **options**: `any`[]
|
|
63
63
|
|
|
64
|
-
Defined in: [packages/mdast-plus/src/types.ts:46](https://github.com/isdk/mdast-plus.js/blob/
|
|
64
|
+
Defined in: [packages/mdast-plus/src/types.ts:46](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L46)
|
|
65
65
|
|
|
66
66
|
Arguments passed to the plugin.
|
|
67
67
|
MUST be an array of arguments (e.g., [optionsObject]).
|
|
@@ -72,7 +72,7 @@ MUST be an array of arguments (e.g., [optionsObject]).
|
|
|
72
72
|
|
|
73
73
|
> `optional` **order**: `number`
|
|
74
74
|
|
|
75
|
-
Defined in: [packages/mdast-plus/src/types.ts:50](https://github.com/isdk/mdast-plus.js/blob/
|
|
75
|
+
Defined in: [packages/mdast-plus/src/types.ts:50](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L50)
|
|
76
76
|
|
|
77
77
|
Execution priority within the same stage. Lower values run earlier.
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ Execution priority within the same stage. Lower values run earlier.
|
|
|
82
82
|
|
|
83
83
|
> **plugin**: `Plugin`\<`any`[], `any`, `any`\>
|
|
84
84
|
|
|
85
|
-
Defined in: [packages/mdast-plus/src/types.ts:41](https://github.com/isdk/mdast-plus.js/blob/
|
|
85
|
+
Defined in: [packages/mdast-plus/src/types.ts:41](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L41)
|
|
86
86
|
|
|
87
87
|
The standard unified plugin (attacher) function.
|
|
88
88
|
|
|
@@ -92,6 +92,6 @@ The standard unified plugin (attacher) function.
|
|
|
92
92
|
|
|
93
93
|
> `optional` **stage**: [`PipelineStage`](../enumerations/PipelineStage.md) \| `"parse"` \| `"normalize"` \| `"compile"` \| `"finalize"` \| `"stringify"`
|
|
94
94
|
|
|
95
|
-
Defined in: [packages/mdast-plus/src/types.ts:48](https://github.com/isdk/mdast-plus.js/blob/
|
|
95
|
+
Defined in: [packages/mdast-plus/src/types.ts:48](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L48)
|
|
96
96
|
|
|
97
97
|
The stage in which this plugin should run.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: MdastSub
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/types.ts:124](https://github.com/isdk/mdast-plus.js/blob/
|
|
9
|
+
Defined in: [packages/mdast-plus/src/types.ts:124](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L124)
|
|
10
10
|
|
|
11
11
|
Represents a subscript text node in mdast.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Represents a subscript text node in mdast.
|
|
|
20
20
|
|
|
21
21
|
> **children**: `PhrasingContent`[]
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/mdast-plus/src/types.ts:126](https://github.com/isdk/mdast-plus.js/blob/
|
|
23
|
+
Defined in: [packages/mdast-plus/src/types.ts:126](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L126)
|
|
24
24
|
|
|
25
25
|
List of children.
|
|
26
26
|
|
|
@@ -65,7 +65,7 @@ have a position.
|
|
|
65
65
|
|
|
66
66
|
> **type**: `"sub"`
|
|
67
67
|
|
|
68
|
-
Defined in: [packages/mdast-plus/src/types.ts:125](https://github.com/isdk/mdast-plus.js/blob/
|
|
68
|
+
Defined in: [packages/mdast-plus/src/types.ts:125](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L125)
|
|
69
69
|
|
|
70
70
|
Node type.
|
|
71
71
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: MdastSup
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/mdast-plus/src/types.ts:130](https://github.com/isdk/mdast-plus.js/blob/
|
|
9
|
+
Defined in: [packages/mdast-plus/src/types.ts:130](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L130)
|
|
10
10
|
|
|
11
11
|
Represents a superscript text node in mdast.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Represents a superscript text node in mdast.
|
|
|
20
20
|
|
|
21
21
|
> **children**: `PhrasingContent`[]
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/mdast-plus/src/types.ts:132](https://github.com/isdk/mdast-plus.js/blob/
|
|
23
|
+
Defined in: [packages/mdast-plus/src/types.ts:132](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L132)
|
|
24
24
|
|
|
25
25
|
List of children.
|
|
26
26
|
|
|
@@ -65,7 +65,7 @@ have a position.
|
|
|
65
65
|
|
|
66
66
|
> **type**: `"sup"`
|
|
67
67
|
|
|
68
|
-
Defined in: [packages/mdast-plus/src/types.ts:131](https://github.com/isdk/mdast-plus.js/blob/
|
|
68
|
+
Defined in: [packages/mdast-plus/src/types.ts:131](https://github.com/isdk/mdast-plus.js/blob/b08b74cf958d7f9ed7bee309acc7e659bc74da3c/src/types.ts#L131)
|
|
69
69
|
|
|
70
70
|
Node type.
|
|
71
71
|
|