@@ -27,7 +27,7 @@ re-created.
2727
2828``` idl
2929interface Root <: Parent {
30- type: "root";
30+ type: "root";
3131}
3232```
3333
@@ -38,7 +38,7 @@ with a particular point or idea.
3838
3939``` idl
4040interface Paragraph <: Parent {
41- type: "paragraph";
41+ type: "paragraph";
4242}
4343```
4444
@@ -66,7 +66,7 @@ Yields:
6666
6767``` idl
6868interface Blockquote <: Parent {
69- type: "blockquote";
69+ type: "blockquote";
7070}
7171```
7272
@@ -98,8 +98,8 @@ than or equal to 1, lower than or equal to 6.
9898
9999``` idl
100100interface Heading <: Parent {
101- type: "heading";
102- depth: 1 <= uint32 <= 6;
101+ type: "heading";
102+ depth: 1 <= uint32 <= 6;
103103}
104104```
105105
@@ -130,8 +130,8 @@ Markdown fences with a flag, `null` otherwise).
130130
131131``` idl
132132interface Code <: Text {
133- type: "code";
134- lang: string | null;
133+ type: "code";
134+ lang: string | null;
135135}
136136```
137137
@@ -158,7 +158,7 @@ Inline code does not sport a `lang` attribute.
158158
159159``` idl
160160interface InlineCode <: Text {
161- type: "inlineCode";
161+ type: "inlineCode";
162162}
163163```
164164
@@ -184,7 +184,7 @@ contains embedded YAML data.
184184
185185``` idl
186186interface YAML <: Text {
187- type: "yaml";
187+ type: "yaml";
188188}
189189```
190190
@@ -211,7 +211,7 @@ Yields:
211211
212212``` idl
213213interface HTML <: Text {
214- type: "html";
214+ type: "html";
215215}
216216```
217217
@@ -242,10 +242,10 @@ When all list items have `loose: false`, the list’s `loose` property is also
242242
243243``` idl
244244interface 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;
249249}
250250```
251251
@@ -291,9 +291,9 @@ for information.
291291
292292``` idl
293293interface 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;
297297}
298298```
299299
@@ -309,14 +309,14 @@ Its children are either **TableHeader** (the first child), or **TableRow**
309309
310310``` idl
311311interface Table <: Parent {
312- type: "table";
313- align: [alignType];
312+ type: "table";
313+ align: [alignType];
314314}
315315```
316316
317317``` idl
318318enum alignType {
319- "left" | "right" | "center" | null;
319+ "left" | "right" | "center" | null;
320320}
321321```
322322
@@ -383,7 +383,7 @@ Yields:
383383
384384``` idl
385385interface TableHeader <: Parent {
386- type: "tableHeader";
386+ type: "tableHeader";
387387}
388388```
389389
@@ -395,7 +395,7 @@ For an example, see the definition of **Table**.
395395
396396``` idl
397397interface TableRow <: Parent {
398- type: "tableRow";
398+ type: "tableRow";
399399}
400400```
401401
@@ -407,7 +407,7 @@ For an example, see the definition of **Table**.
407407
408408``` idl
409409interface TableCell <: Parent {
410- type: "tableCell";
410+ type: "tableCell";
411411}
412412```
413413
@@ -420,7 +420,7 @@ often shown as a horizontal rule, or by two HTML section elements.
420420
421421``` idl
422422interface ThematicBreak <: Node {
423- type: "thematicBreak";
423+ type: "thematicBreak";
424424}
425425```
426426
@@ -444,7 +444,7 @@ Yields:
444444
445445``` idl
446446interface Break <: Node {
447- type: "break";
447+ type: "break";
448448}
449449```
450450
@@ -482,7 +482,7 @@ Yields:
482482
483483``` idl
484484interface Emphasis <: Parent {
485- type: "emphasis";
485+ type: "emphasis";
486486}
487487```
488488
@@ -526,7 +526,7 @@ Yields:
526526
527527``` idl
528528interface Strong <: Parent {
529- type: "strong";
529+ type: "strong";
530530}
531531```
532532
@@ -570,7 +570,7 @@ Yields:
570570
571571``` idl
572572interface Delete <: Parent {
573- type: "delete";
573+ type: "delete";
574574}
575575```
576576
@@ -598,9 +598,9 @@ Yields:
598598
599599``` idl
600600interface Link <: Parent {
601- type: "link";
602- title: string | null;
603- href: string;
601+ type: "link";
602+ title: string | null;
603+ href: string;
604604}
605605```
606606
@@ -630,10 +630,10 @@ Yields:
630630
631631``` idl
632632interface 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;
637637}
638638```
639639
@@ -661,7 +661,7 @@ content relates to the document but is outside its flow.
661661
662662``` idl
663663interface Footnote <: Parent {
664- type: "footnote";
664+ type: "footnote";
665665}
666666```
667667
@@ -694,15 +694,15 @@ reference (`[foo][]`) or just unescaped brackets (`[foo]`).
694694
695695``` idl
696696interface LinkReference <: Parent {
697- type: "linkReference";
698- identifier: string;
699- referenceType: referenceType;
697+ type: "linkReference";
698+ identifier: string;
699+ referenceType: referenceType;
700700}
701701```
702702
703703``` idl
704704enum referenceType {
705- "shortcut" | "collapsed" | "full";
705+ "shortcut" | "collapsed" | "full";
706706}
707707```
708708
@@ -738,10 +738,10 @@ See **LinkReference** for the definition of `referenceType`.
738738
739739``` idl
740740interface 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;
745745}
746746```
747747
@@ -770,8 +770,8 @@ content is already outside the documents flow: placed in a
770770
771771``` idl
772772interface FootnoteReference <: Node {
773- type: "footnoteReference";
774- identifier: string;
773+ type: "footnoteReference";
774+ identifier: string;
775775}
776776```
777777
@@ -797,10 +797,10 @@ and title) of a **LinkReference** or an **ImageReference**.
797797
798798``` idl
799799interface 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;
804804}
805805```
806806
@@ -828,8 +828,8 @@ Yields:
828828
829829``` idl
830830interface FootnoteDefinition <: Parent {
831- type: "footnoteDefinition";
832- identifier: string;
831+ type: "footnoteDefinition";
832+ identifier: string;
833833}
834834```
835835
@@ -862,7 +862,7 @@ Note that its `type` property is `text`, but it is different from **Text**.
862862
863863``` idl
864864interface TextNode <: Text {
865- type: "text";
865+ type: "text";
866866}
867867```
868868
0 commit comments