Refactor to prefer single quotes · syntax-tree/mdast@8b081fb (original) (raw)

`` @@ -122,7 +122,7 @@ Its value field is a string.

``

122

122

``

123

123

```` ```idl


`124`

`124`

`interface Root <: Parent {

`

`125`

``

`-

type: "root"

`

``

`125`

`+

type: 'root'

`

`126`

`126`

`}

`

`127`

`127`

```` ```

128

128

``

`@@ -138,7 +138,7 @@ restriction that all content must be of the same category.

`

138

138

``

139

139

```` ```idl


`140`

`140`

`interface Paragraph <: Parent {

`

`141`

``

`-

type: "paragraph"

`

``

`141`

`+

type: 'paragraph'

`

`142`

`142`

` children: [PhrasingContent]

`

`143`

`143`

`}

`

`144`

`144`

```` ```

`@@ -168,7 +168,7 @@ Yields:

`

168

168

``

169

169

```` ```idl


`170`

`170`

`interface Heading <: Parent {

`

`171`

``

`-

type: "heading"

`

``

`171`

`+

type: 'heading'

`

`172`

`172`

` depth: 1 <= number <= 6

`

`173`

`173`

` children: [PhrasingContent]

`

`174`

`174`

`}

`

`@@ -202,7 +202,7 @@ Yields:

`

`202`

`202`

``

`203`

`203`

```` ```idl

204

204

`interface ThematicBreak <: Node {

`

205

``

`-

type: "thematicBreak"

`

``

205

`+

type: 'thematicBreak'

`

206

206

`}

`

207

207

```` ```


`208`

`208`

``

`@@ -229,7 +229,7 @@ Yields:

`

`229`

`229`

``

`230`

`230`

```` ```idl

231

231

`interface Blockquote <: Parent {

`

232

``

`-

type: "blockquote"

`

``

232

`+

type: 'blockquote'

`

233

233

` children: [FlowContent]

`

234

234

`}

`

235

235

```` ```


`@@ -263,7 +263,7 @@ Yields:

`

`263`

`263`

``

`264`

`264`

```` ```idl

265

265

`interface List <: Parent {

`

266

``

`-

type: "list"

`

``

266

`+

type: 'list'

`

267

267

` ordered: boolean?

`

268

268

` start: number?

`

269

269

` spread: boolean?

`

`@@ -318,7 +318,7 @@ Yields:

`

318

318

``

319

319

```` ```idl


`320`

`320`

`interface ListItem <: Parent {

`

`321`

``

`-

type: "listItem"

`

``

`321`

`+

type: 'listItem'

`

`322`

`322`

` spread: boolean?

`

`323`

`323`

` children: [FlowContent]

`

`324`

`324`

`}

`

`@@ -357,7 +357,7 @@ Yields:

`

`357`

`357`

``

`358`

`358`

```` ```idl

359

359

`interface HTML <: Literal {

`

360

``

`-

type: "html"

`

``

360

`+

type: 'html'

`

361

361

`}

`

362

362

```` ```


`363`

`363`

``

`@@ -386,7 +386,7 @@ Yields:

`

`386`

`386`

``

`387`

`387`

```` ```idl

388

388

`interface Code <: Literal {

`

389

``

`-

type: "code"

`

``

389

`+

type: 'code'

`

390

390

` lang: string?

`

391

391

` meta: string?

`

392

392

`}

`

`@@ -449,7 +449,7 @@ Yields:

`

449

449

``

450

450

```` ```idl


`451`

`451`

`interface Definition <: Node {

`

`452`

``

`-

type: "definition"

`

``

`452`

`+

type: 'definition'

`

`453`

`453`

`}

`

`454`

`454`

``

`455`

`455`

`Definition includes Association

`

`@@ -490,7 +490,7 @@ Yields:

`

`490`

`490`

``

`491`

`491`

```` ```idl

492

492

`interface Text <: Literal {

`

493

``

`-

type: "text"

`

``

493

`+

type: 'text'

`

494

494

`}

`

495

495

```` ```


`496`

`496`

``

`@@ -516,7 +516,7 @@ Yields:

`

`516`

`516`

``

`517`

`517`

```` ```idl

518

518

`interface Emphasis <: Parent {

`

519

``

`-

type: "emphasis"

`

``

519

`+

type: 'emphasis'

`

520

520

` children: [TransparentContent]

`

521

521

`}

`

522

522

```` ```


`@@ -557,7 +557,7 @@ Yields:

`

`557`

`557`

``

`558`

`558`

```` ```idl

559

559

`interface Strong <: Parent {

`

560

``

`-

type: "strong"

`

``

560

`+

type: 'strong'

`

561

561

` children: [TransparentContent]

`

562

562

`}

`

563

563

```` ```


`@@ -598,7 +598,7 @@ Yields:

`

`598`

`598`

``

`599`

`599`

```` ```idl

600

600

`interface InlineCode <: Literal {

`

601

``

`-

type: "inlineCode"

`

``

601

`+

type: 'inlineCode'

`

602

602

`}

`

603

603

```` ```


`604`

`604`

``

`@@ -628,7 +628,7 @@ Yields:

`

`628`

`628`

``

`629`

`629`

```` ```idl

630

630

`interface Break <: Node {

`

631

``

`-

type: "break"

`

``

631

`+

type: 'break'

`

632

632

`}

`

633

633

```` ```


`634`

`634`

``

`@@ -663,7 +663,7 @@ Yields:

`

`663`

`663`

``

`664`

`664`

```` ```idl

665

665

`interface Link <: Parent {

`

666

``

`-

type: "link"

`

``

666

`+

type: 'link'

`

667

667

` children: [StaticPhrasingContent]

`

668

668

`}

`

669

669

``

`@@ -699,7 +699,7 @@ Yields:

`

699

699

``

700

700

```` ```idl


`701`

`701`

`interface Image <: Node {

`

`702`

``

`-

type: "image"

`

``

`702`

`+

type: 'image'

`

`703`

`703`

`}

`

`704`

`704`

``

`705`

`705`

`Image includes Resource

`

`@@ -736,7 +736,7 @@ Yields:

`

`736`

`736`

``

`737`

`737`

```` ```idl

738

738

`interface LinkReference <: Parent {

`

739

``

`-

type: "linkReference"

`

``

739

`+

type: 'linkReference'

`

740

740

` children: [StaticPhrasingContent]

`

741

741

`}

`

742

742

``

`@@ -776,7 +776,7 @@ Yields:

`

776

776

``

777

777

```` ```idl


`778`

`778`

`interface ImageReference <: Node {

`

`779`

``

`-

type: "imageReference"

`

``

`779`

`+

type: 'imageReference'

`

`780`

`780`

`}

`

`781`

`781`

``

`782`

`782`

`ImageReference includes Reference

`

`@@ -902,7 +902,7 @@ node as intended.

`

`902`

`902`

``

`903`

`903`

```` ```idl

904

904

`enum referenceType {

`

905

``

`-

"shortcut" | "collapsed" | "full"

`

``

905

`+

'shortcut' | 'collapsed' | 'full'

`

906

906

`}

`

907

907

```` ```


`908`

`908`

``

`@@ -986,7 +986,7 @@ The following interfaces are found in [GitHub Flavored Markdown][gfm].

`

`986`

`986`

``

`987`

`987`

```` ```idl

988

988

`interface FootnoteDefinition <: Parent {

`

989

``

`-

type: "footnoteDefinition"

`

``

989

`+

type: 'footnoteDefinition'

`

990

990

` children: [FlowContent]

`

991

991

`}

`

992

992

``

`@@ -1030,7 +1030,7 @@ Yields:

`

1030

1030

``

1031

1031

```` ```idl


`1032`

`1032`

`interface FootnoteReference <: Node {

`

`1033`

``

`-

type: "footnoteReference"

`

``

`1033`

`+

type: 'footnoteReference'

`

`1034`

`1034`

`}

`

`1035`

`1035`

``

`1036`

`1036`

`FootnoteReference includes Association

`

`@@ -1068,7 +1068,7 @@ Yields:

`

`1068`

`1068`

``

`1069`

`1069`

```` ```idl

1070

1070

`interface Table <: Parent {

`

1071

``

`-

type: "table"

`

``

1071

`+

type: 'table'

`

1072

1072

` align: [alignType]?

`

1073

1073

` children: [TableContent]

`

1074

1074

`}

`

`@@ -1134,7 +1134,7 @@ Yields:

`

1134

1134

``

1135

1135

```` ```idl


`1136`

`1136`

`interface TableRow <: Parent {

`

`1137`

``

`-

type: "tableRow"

`

``

`1137`

`+

type: 'tableRow'

`

`1138`

`1138`

` children: [RowContent]

`

`1139`

`1139`

`}

`

`1140`

`1140`

```` ```

`@@ -1154,7 +1154,7 @@ For an example, see [Table][dfn-table].

`

1154

1154

``

1155

1155

```` ```idl


`1156`

`1156`

`interface TableCell <: Parent {

`

`1157`

``

`-

type: "tableCell"

`

``

`1157`

`+

type: 'tableCell'

`

`1158`

`1158`

` children: [PhrasingContent]

`

`1159`

`1159`

`}

`

`1160`

`1160`

```` ```

`` @@ -1185,7 +1185,7 @@ or indeterminate or not applicable (when null or not present).

``

1185

1185

``

1186

1186

```` ```idl


`1187`

`1187`

`interface Delete <: Parent {

`

`1188`

``

`-

type: "delete"

`

``

`1188`

`+

type: 'delete'

`

`1189`

`1189`

` children: [TransparentContent]

`

`1190`

`1190`

`}

`

`1191`

`1191`

```` ```

`@@ -1216,7 +1216,7 @@ Yields:

`

1216

1216

``

1217

1217

```` ```idl


`1218`

`1218`

`enum alignType {

`

`1219`

``

`-

"left" | "right" | "center" | null

`

``

`1219`

`+

'left' | 'right' | 'center' | null

`

`1220`

`1220`

`}

`

`1221`

`1221`

```` ```

1222

1222

``

`@@ -1274,7 +1274,7 @@ The following interfaces are found with YAML.

`

1274

1274

``

1275

1275

```` ```idl


`1276`

`1276`

`interface YAML <: Literal {

`

`1277`

``

`-

type: "yaml"

`

``

`1277`

`+

type: 'yaml'

`

`1278`

`1278`

`}

`

`1279`

`1279`

```` ```

1280

1280

``

`@@ -1328,7 +1328,7 @@ and [FootnoteDefinition][dfn-footnote-definition], but since

`

1328

1328

``

1329

1329

```` ```idl


`1330`

`1330`

`interface Footnote <: Parent {

`

`1331`

``

`-

type: "footnote"

`

``

`1331`

`+

type: 'footnote'

`

`1332`

`1332`

` children: [PhrasingContent]

`

`1333`

`1333`

`}

`

`1334`

`1334`

```` ```