Skip to content

Commit 8b081fb

Browse files
committed
Refactor to prefer single quotes
1 parent 79260fc commit 8b081fb

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

readme.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Its `value` field is a `string`.
122122

123123
```idl
124124
interface Root <: Parent {
125-
type: "root"
125+
type: 'root'
126126
}
127127
```
128128

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

139139
```idl
140140
interface Paragraph <: Parent {
141-
type: "paragraph"
141+
type: 'paragraph'
142142
children: [PhrasingContent]
143143
}
144144
```
@@ -168,7 +168,7 @@ Yields:
168168

169169
```idl
170170
interface Heading <: Parent {
171-
type: "heading"
171+
type: 'heading'
172172
depth: 1 <= number <= 6
173173
children: [PhrasingContent]
174174
}
@@ -202,7 +202,7 @@ Yields:
202202

203203
```idl
204204
interface ThematicBreak <: Node {
205-
type: "thematicBreak"
205+
type: 'thematicBreak'
206206
}
207207
```
208208

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

230230
```idl
231231
interface Blockquote <: Parent {
232-
type: "blockquote"
232+
type: 'blockquote'
233233
children: [FlowContent]
234234
}
235235
```
@@ -263,7 +263,7 @@ Yields:
263263

264264
```idl
265265
interface List <: Parent {
266-
type: "list"
266+
type: 'list'
267267
ordered: boolean?
268268
start: number?
269269
spread: boolean?
@@ -318,7 +318,7 @@ Yields:
318318

319319
```idl
320320
interface ListItem <: Parent {
321-
type: "listItem"
321+
type: 'listItem'
322322
spread: boolean?
323323
children: [FlowContent]
324324
}
@@ -357,7 +357,7 @@ Yields:
357357

358358
```idl
359359
interface HTML <: Literal {
360-
type: "html"
360+
type: 'html'
361361
}
362362
```
363363

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

387387
```idl
388388
interface Code <: Literal {
389-
type: "code"
389+
type: 'code'
390390
lang: string?
391391
meta: string?
392392
}
@@ -449,7 +449,7 @@ Yields:
449449

450450
```idl
451451
interface Definition <: Node {
452-
type: "definition"
452+
type: 'definition'
453453
}
454454
455455
Definition includes Association
@@ -490,7 +490,7 @@ Yields:
490490

491491
```idl
492492
interface Text <: Literal {
493-
type: "text"
493+
type: 'text'
494494
}
495495
```
496496

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

517517
```idl
518518
interface Emphasis <: Parent {
519-
type: "emphasis"
519+
type: 'emphasis'
520520
children: [TransparentContent]
521521
}
522522
```
@@ -557,7 +557,7 @@ Yields:
557557

558558
```idl
559559
interface Strong <: Parent {
560-
type: "strong"
560+
type: 'strong'
561561
children: [TransparentContent]
562562
}
563563
```
@@ -598,7 +598,7 @@ Yields:
598598

599599
```idl
600600
interface InlineCode <: Literal {
601-
type: "inlineCode"
601+
type: 'inlineCode'
602602
}
603603
```
604604

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

629629
```idl
630630
interface Break <: Node {
631-
type: "break"
631+
type: 'break'
632632
}
633633
```
634634

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

664664
```idl
665665
interface Link <: Parent {
666-
type: "link"
666+
type: 'link'
667667
children: [StaticPhrasingContent]
668668
}
669669
@@ -699,7 +699,7 @@ Yields:
699699

700700
```idl
701701
interface Image <: Node {
702-
type: "image"
702+
type: 'image'
703703
}
704704
705705
Image includes Resource
@@ -736,7 +736,7 @@ Yields:
736736

737737
```idl
738738
interface LinkReference <: Parent {
739-
type: "linkReference"
739+
type: 'linkReference'
740740
children: [StaticPhrasingContent]
741741
}
742742
@@ -776,7 +776,7 @@ Yields:
776776

777777
```idl
778778
interface ImageReference <: Node {
779-
type: "imageReference"
779+
type: 'imageReference'
780780
}
781781
782782
ImageReference includes Reference
@@ -902,7 +902,7 @@ node as intended.
902902

903903
```idl
904904
enum referenceType {
905-
"shortcut" | "collapsed" | "full"
905+
'shortcut' | 'collapsed' | 'full'
906906
}
907907
```
908908

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

987987
```idl
988988
interface FootnoteDefinition <: Parent {
989-
type: "footnoteDefinition"
989+
type: 'footnoteDefinition'
990990
children: [FlowContent]
991991
}
992992
@@ -1030,7 +1030,7 @@ Yields:
10301030

10311031
```idl
10321032
interface FootnoteReference <: Node {
1033-
type: "footnoteReference"
1033+
type: 'footnoteReference'
10341034
}
10351035
10361036
FootnoteReference includes Association
@@ -1068,7 +1068,7 @@ Yields:
10681068

10691069
```idl
10701070
interface Table <: Parent {
1071-
type: "table"
1071+
type: 'table'
10721072
align: [alignType]?
10731073
children: [TableContent]
10741074
}
@@ -1134,7 +1134,7 @@ Yields:
11341134

11351135
```idl
11361136
interface TableRow <: Parent {
1137-
type: "tableRow"
1137+
type: 'tableRow'
11381138
children: [RowContent]
11391139
}
11401140
```
@@ -1154,7 +1154,7 @@ For an example, see [**Table**][dfn-table].
11541154

11551155
```idl
11561156
interface TableCell <: Parent {
1157-
type: "tableCell"
1157+
type: 'tableCell'
11581158
children: [PhrasingContent]
11591159
}
11601160
```
@@ -1185,7 +1185,7 @@ or indeterminate or not applicable (when `null` or not present).
11851185

11861186
```idl
11871187
interface Delete <: Parent {
1188-
type: "delete"
1188+
type: 'delete'
11891189
children: [TransparentContent]
11901190
}
11911191
```
@@ -1216,7 +1216,7 @@ Yields:
12161216

12171217
```idl
12181218
enum alignType {
1219-
"left" | "right" | "center" | null
1219+
'left' | 'right' | 'center' | null
12201220
}
12211221
```
12221222

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

12751275
```idl
12761276
interface YAML <: Literal {
1277-
type: "yaml"
1277+
type: 'yaml'
12781278
}
12791279
```
12801280

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

13291329
```idl
13301330
interface Footnote <: Parent {
1331-
type: "footnote"
1331+
type: 'footnote'
13321332
children: [PhrasingContent]
13331333
}
13341334
```

0 commit comments

Comments
 (0)