@@ -27,7 +27,7 @@ re-created.
27
27
28
28
``` idl
29
29
interface Root <: Parent {
30
- type: "root";
30
+ type: "root";
31
31
}
32
32
```
33
33
@@ -38,7 +38,7 @@ with a particular point or idea.
38
38
39
39
``` idl
40
40
interface Paragraph <: Parent {
41
- type: "paragraph";
41
+ type: "paragraph";
42
42
}
43
43
```
44
44
@@ -66,7 +66,7 @@ Yields:
66
66
67
67
``` idl
68
68
interface Blockquote <: Parent {
69
- type: "blockquote";
69
+ type: "blockquote";
70
70
}
71
71
```
72
72
@@ -98,8 +98,8 @@ than or equal to 1, lower than or equal to 6.
98
98
99
99
``` idl
100
100
interface Heading <: Parent {
101
- type: "heading";
102
- depth: 1 <= uint32 <= 6;
101
+ type: "heading";
102
+ depth: 1 <= uint32 <= 6;
103
103
}
104
104
```
105
105
@@ -130,8 +130,8 @@ Markdown fences with a flag, `null` otherwise).
130
130
131
131
``` idl
132
132
interface Code <: Text {
133
- type: "code";
134
- lang: string | null;
133
+ type: "code";
134
+ lang: string | null;
135
135
}
136
136
```
137
137
@@ -158,7 +158,7 @@ Inline code does not sport a `lang` attribute.
158
158
159
159
``` idl
160
160
interface InlineCode <: Text {
161
- type: "inlineCode";
161
+ type: "inlineCode";
162
162
}
163
163
```
164
164
@@ -184,7 +184,7 @@ contains embedded YAML data.
184
184
185
185
``` idl
186
186
interface YAML <: Text {
187
- type: "yaml";
187
+ type: "yaml";
188
188
}
189
189
```
190
190
@@ -211,7 +211,7 @@ Yields:
211
211
212
212
``` idl
213
213
interface HTML <: Text {
214
- type: "html";
214
+ type: "html";
215
215
}
216
216
```
217
217
@@ -242,10 +242,10 @@ When all list items have `loose: false`, the list’s `loose` property is also
242
242
243
243
``` idl
244
244
interface List <: Parent {
245
- type: "list";
246
- loose: true | false;
247
- start: uint32 | null;
248
- ordered: true | false;
245
+ type: "list";
246
+ loose: true | false;
247
+ start: uint32 | null;
248
+ ordered: true | false;
249
249
}
250
250
```
251
251
@@ -291,9 +291,9 @@ for information.
291
291
292
292
``` idl
293
293
interface ListItem <: Parent {
294
- type: "listItem";
295
- loose: true | false;
296
- checked: true | false | null | undefined;
294
+ type: "listItem";
295
+ loose: true | false;
296
+ checked: true | false | null | undefined;
297
297
}
298
298
```
299
299
@@ -309,14 +309,14 @@ Its children are either **TableHeader** (the first child), or **TableRow**
309
309
310
310
``` idl
311
311
interface Table <: Parent {
312
- type: "table";
313
- align: [alignType];
312
+ type: "table";
313
+ align: [alignType];
314
314
}
315
315
```
316
316
317
317
``` idl
318
318
enum alignType {
319
- "left" | "right" | "center" | null;
319
+ "left" | "right" | "center" | null;
320
320
}
321
321
```
322
322
@@ -383,7 +383,7 @@ Yields:
383
383
384
384
``` idl
385
385
interface TableHeader <: Parent {
386
- type: "tableHeader";
386
+ type: "tableHeader";
387
387
}
388
388
```
389
389
@@ -395,7 +395,7 @@ For an example, see the definition of **Table**.
395
395
396
396
``` idl
397
397
interface TableRow <: Parent {
398
- type: "tableRow";
398
+ type: "tableRow";
399
399
}
400
400
```
401
401
@@ -407,7 +407,7 @@ For an example, see the definition of **Table**.
407
407
408
408
``` idl
409
409
interface TableCell <: Parent {
410
- type: "tableCell";
410
+ type: "tableCell";
411
411
}
412
412
```
413
413
@@ -420,7 +420,7 @@ often shown as a horizontal rule, or by two HTML section elements.
420
420
421
421
``` idl
422
422
interface ThematicBreak <: Node {
423
- type: "thematicBreak";
423
+ type: "thematicBreak";
424
424
}
425
425
```
426
426
@@ -444,7 +444,7 @@ Yields:
444
444
445
445
``` idl
446
446
interface Break <: Node {
447
- type: "break";
447
+ type: "break";
448
448
}
449
449
```
450
450
@@ -482,7 +482,7 @@ Yields:
482
482
483
483
``` idl
484
484
interface Emphasis <: Parent {
485
- type: "emphasis";
485
+ type: "emphasis";
486
486
}
487
487
```
488
488
@@ -526,7 +526,7 @@ Yields:
526
526
527
527
``` idl
528
528
interface Strong <: Parent {
529
- type: "strong";
529
+ type: "strong";
530
530
}
531
531
```
532
532
@@ -570,7 +570,7 @@ Yields:
570
570
571
571
``` idl
572
572
interface Delete <: Parent {
573
- type: "delete";
573
+ type: "delete";
574
574
}
575
575
```
576
576
@@ -598,9 +598,9 @@ Yields:
598
598
599
599
``` idl
600
600
interface Link <: Parent {
601
- type: "link";
602
- title: string | null;
603
- href: string;
601
+ type: "link";
602
+ title: string | null;
603
+ href: string;
604
604
}
605
605
```
606
606
@@ -630,10 +630,10 @@ Yields:
630
630
631
631
``` idl
632
632
interface Image <: Node {
633
- type: "image";
634
- title: string | null;
635
- alt: string | null;
636
- src: string;
633
+ type: "image";
634
+ title: string | null;
635
+ alt: string | null;
636
+ src: string;
637
637
}
638
638
```
639
639
@@ -661,7 +661,7 @@ content relates to the document but is outside its flow.
661
661
662
662
``` idl
663
663
interface Footnote <: Parent {
664
- type: "footnote";
664
+ type: "footnote";
665
665
}
666
666
```
667
667
@@ -694,15 +694,15 @@ reference (`[foo][]`) or just unescaped brackets (`[foo]`).
694
694
695
695
``` idl
696
696
interface LinkReference <: Parent {
697
- type: "linkReference";
698
- identifier: string;
699
- referenceType: referenceType;
697
+ type: "linkReference";
698
+ identifier: string;
699
+ referenceType: referenceType;
700
700
}
701
701
```
702
702
703
703
``` idl
704
704
enum referenceType {
705
- "shortcut" | "collapsed" | "full";
705
+ "shortcut" | "collapsed" | "full";
706
706
}
707
707
```
708
708
@@ -738,10 +738,10 @@ See **LinkReference** for the definition of `referenceType`.
738
738
739
739
``` idl
740
740
interface ImageReference <: Node {
741
- type: "imageReference";
742
- identifier: string;
743
- referenceType: referenceType;
744
- alt: string | null;
741
+ type: "imageReference";
742
+ identifier: string;
743
+ referenceType: referenceType;
744
+ alt: string | null;
745
745
}
746
746
```
747
747
@@ -770,8 +770,8 @@ content is already outside the documents flow: placed in a
770
770
771
771
``` idl
772
772
interface FootnoteReference <: Node {
773
- type: "footnoteReference";
774
- identifier: string;
773
+ type: "footnoteReference";
774
+ identifier: string;
775
775
}
776
776
```
777
777
@@ -797,10 +797,10 @@ and title) of a **LinkReference** or an **ImageReference**.
797
797
798
798
``` idl
799
799
interface Definition <: Node {
800
- type: "definition";
801
- identifier: string;
802
- title: string | null;
803
- link: string;
800
+ type: "definition";
801
+ identifier: string;
802
+ title: string | null;
803
+ link: string;
804
804
}
805
805
```
806
806
@@ -828,8 +828,8 @@ Yields:
828
828
829
829
``` idl
830
830
interface FootnoteDefinition <: Parent {
831
- type: "footnoteDefinition";
832
- identifier: string;
831
+ type: "footnoteDefinition";
832
+ identifier: string;
833
833
}
834
834
```
835
835
@@ -862,7 +862,7 @@ Note that its `type` property is `text`, but it is different from **Text**.
862
862
863
863
``` idl
864
864
interface TextNode <: Text {
865
- type: "text";
865
+ type: "text";
866
866
}
867
867
```
868
868
0 commit comments