Skip to content

Commit

Permalink
Refactor to prefer single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 4, 2023
1 parent 79260fc commit 8b081fb
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Its `value` field is a `string`.

```idl
interface Root <: Parent {
type: "root"
type: 'root'
}
```

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

```idl
interface Paragraph <: Parent {
type: "paragraph"
type: 'paragraph'
children: [PhrasingContent]
}
```
Expand Down Expand Up @@ -168,7 +168,7 @@ Yields:

```idl
interface Heading <: Parent {
type: "heading"
type: 'heading'
depth: 1 <= number <= 6
children: [PhrasingContent]
}
Expand Down Expand Up @@ -202,7 +202,7 @@ Yields:

```idl
interface ThematicBreak <: Node {
type: "thematicBreak"
type: 'thematicBreak'
}
```

Expand All @@ -229,7 +229,7 @@ Yields:

```idl
interface Blockquote <: Parent {
type: "blockquote"
type: 'blockquote'
children: [FlowContent]
}
```
Expand Down Expand Up @@ -263,7 +263,7 @@ Yields:

```idl
interface List <: Parent {
type: "list"
type: 'list'
ordered: boolean?
start: number?
spread: boolean?
Expand Down Expand Up @@ -318,7 +318,7 @@ Yields:

```idl
interface ListItem <: Parent {
type: "listItem"
type: 'listItem'
spread: boolean?
children: [FlowContent]
}
Expand Down Expand Up @@ -357,7 +357,7 @@ Yields:

```idl
interface HTML <: Literal {
type: "html"
type: 'html'
}
```

Expand Down Expand Up @@ -386,7 +386,7 @@ Yields:

```idl
interface Code <: Literal {
type: "code"
type: 'code'
lang: string?
meta: string?
}
Expand Down Expand Up @@ -449,7 +449,7 @@ Yields:

```idl
interface Definition <: Node {
type: "definition"
type: 'definition'
}
Definition includes Association
Expand Down Expand Up @@ -490,7 +490,7 @@ Yields:

```idl
interface Text <: Literal {
type: "text"
type: 'text'
}
```

Expand All @@ -516,7 +516,7 @@ Yields:

```idl
interface Emphasis <: Parent {
type: "emphasis"
type: 'emphasis'
children: [TransparentContent]
}
```
Expand Down Expand Up @@ -557,7 +557,7 @@ Yields:

```idl
interface Strong <: Parent {
type: "strong"
type: 'strong'
children: [TransparentContent]
}
```
Expand Down Expand Up @@ -598,7 +598,7 @@ Yields:

```idl
interface InlineCode <: Literal {
type: "inlineCode"
type: 'inlineCode'
}
```

Expand Down Expand Up @@ -628,7 +628,7 @@ Yields:

```idl
interface Break <: Node {
type: "break"
type: 'break'
}
```

Expand Down Expand Up @@ -663,7 +663,7 @@ Yields:

```idl
interface Link <: Parent {
type: "link"
type: 'link'
children: [StaticPhrasingContent]
}
Expand Down Expand Up @@ -699,7 +699,7 @@ Yields:

```idl
interface Image <: Node {
type: "image"
type: 'image'
}
Image includes Resource
Expand Down Expand Up @@ -736,7 +736,7 @@ Yields:

```idl
interface LinkReference <: Parent {
type: "linkReference"
type: 'linkReference'
children: [StaticPhrasingContent]
}
Expand Down Expand Up @@ -776,7 +776,7 @@ Yields:

```idl
interface ImageReference <: Node {
type: "imageReference"
type: 'imageReference'
}
ImageReference includes Reference
Expand Down Expand Up @@ -902,7 +902,7 @@ node as intended.

```idl
enum referenceType {
"shortcut" | "collapsed" | "full"
'shortcut' | 'collapsed' | 'full'
}
```

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

```idl
interface FootnoteDefinition <: Parent {
type: "footnoteDefinition"
type: 'footnoteDefinition'
children: [FlowContent]
}
Expand Down Expand Up @@ -1030,7 +1030,7 @@ Yields:

```idl
interface FootnoteReference <: Node {
type: "footnoteReference"
type: 'footnoteReference'
}
FootnoteReference includes Association
Expand Down Expand Up @@ -1068,7 +1068,7 @@ Yields:

```idl
interface Table <: Parent {
type: "table"
type: 'table'
align: [alignType]?
children: [TableContent]
}
Expand Down Expand Up @@ -1134,7 +1134,7 @@ Yields:

```idl
interface TableRow <: Parent {
type: "tableRow"
type: 'tableRow'
children: [RowContent]
}
```
Expand All @@ -1154,7 +1154,7 @@ For an example, see [**Table**][dfn-table].

```idl
interface TableCell <: Parent {
type: "tableCell"
type: 'tableCell'
children: [PhrasingContent]
}
```
Expand Down Expand Up @@ -1185,7 +1185,7 @@ or indeterminate or not applicable (when `null` or not present).

```idl
interface Delete <: Parent {
type: "delete"
type: 'delete'
children: [TransparentContent]
}
```
Expand Down Expand Up @@ -1216,7 +1216,7 @@ Yields:

```idl
enum alignType {
"left" | "right" | "center" | null
'left' | 'right' | 'center' | null
}
```

Expand Down Expand Up @@ -1274,7 +1274,7 @@ The following interfaces are found with YAML.

```idl
interface YAML <: Literal {
type: "yaml"
type: 'yaml'
}
```

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

```idl
interface Footnote <: Parent {
type: "footnote"
type: 'footnote'
children: [PhrasingContent]
}
```
Expand Down

0 comments on commit 8b081fb

Please sign in to comment.