@@ -53,8 +53,6 @@ The latest released version is [`4.0.0`][latest].
53
53
* [`Content`](#content)
54
54
* [`ListContent`](#listcontent)
55
55
* [`PhrasingContent`](#phrasingcontent)
56
-
* [`StaticPhrasingContent`](#staticphrasingcontent)
57
-
* [`TransparentContent`](#transparentcontent)
58
56
* [Extensions](#extensions)
59
57
* [GFM](#gfm)
60
58
* [Frontmatter](#frontmatter)
@@ -527,7 +525,7 @@ Yields:
527
525
```idl
528
526
interface Emphasis <: Parent {
529
527
type: 'emphasis'
530
-
children: [TransparentContent]
528
+
children: [PhrasingContent]
531
529
}
532
530
```
533
531
@@ -536,7 +534,7 @@ contents.
536
534
537
535
**Emphasis** can be used where [**phrasing**][dfn-phrasing-content] content is
538
536
expected.
539
-
Its content model is [**transparent**][dfn-transparent-content] content.
537
+
Its content model is [**phrasing**][dfn-phrasing-content] content.
540
538
541
539
For example, the following markdown:
542
540
@@ -568,7 +566,7 @@ Yields:
568
566
```idl
569
567
interface Strong <: Parent {
570
568
type: 'strong'
571
-
children: [TransparentContent]
569
+
children: [PhrasingContent]
572
570
}
573
571
```
574
572
@@ -577,7 +575,7 @@ or urgency for its contents.
577
575
578
576
**Strong** can be used where [**phrasing**][dfn-phrasing-content] content is
579
577
expected.
580
-
Its content model is [**transparent**][dfn-transparent-content] content.
578
+
Its content model is [**phrasing**][dfn-phrasing-content] content.
581
579
582
580
For example, the following markdown:
583
581
@@ -674,7 +672,7 @@ Yields:
674
672
```idl
675
673
interface Link <: Parent {
676
674
type: 'link'
677
-
children: [StaticPhrasingContent]
675
+
children: [PhrasingContent]
678
676
}
679
677
680
678
Link includes Resource
@@ -684,7 +682,7 @@ Link includes Resource
684
682
685
683
**Link** can be used where [**phrasing**][dfn-phrasing-content] content is
686
684
expected.
687
-
Its content model is [**static phrasing**][dfn-static-phrasing-content] content.
685
+
Its content model is also [**phrasing**][dfn-phrasing-content] content.
688
686
689
687
**Link** includes the mixin [**Resource**][dfn-mxn-resource].
690
688
@@ -747,7 +745,7 @@ Yields:
747
745
```idl
748
746
interface LinkReference <: Parent {
749
747
type: 'linkReference'
750
-
children: [StaticPhrasingContent]
748
+
children: [PhrasingContent]
751
749
}
752
750
753
751
LinkReference includes Reference
@@ -758,7 +756,7 @@ association, or its original source if there is no association.
758
756
759
757
**LinkReference** can be used where [**phrasing**][dfn-phrasing-content] content
760
758
is expected.
761
-
Its content model is [**static phrasing**][dfn-static-phrasing-content] content.
759
+
Its content model is also [**phrasing**][dfn-phrasing-content] content.
762
760
763
761
**LinkReference** includes the mixin [**Reference**][dfn-mxn-reference].
764
762
@@ -961,27 +959,12 @@ type ListContent = ListItem
961
959
### `PhrasingContent`
962
960
963
961
```idl
964
-
type PhrasingContent = Link | LinkReference | StaticPhrasingContent
962
+
type PhrasingContent = Break | Emphasis | HTML | Image | ImageReference
963
+
| InlineCode | Link | LinkReference | Strong | Text
965
964
```
966
965
967
966
**Phrasing** content represent the text in a document, and its markup.
968
967
969
-
### `StaticPhrasingContent`
970
-
971
-
```idl
972
-
type StaticPhrasingContent =
973
-
Break | Emphasis | HTML | Image | ImageReference | InlineCode | Strong | Text
974
-
```
975
-
976
-
**StaticPhrasing** content represent the text in a document, and its
977
-
markup, that is not intended for user interaction.
978
-
979
-
### `TransparentContent`
980
-
981
-
The **transparent** content model is derived from the content model of its
982
-
[parent][dfn-parent].
983
-
Effectively, this is used to prohibit nested links (and link references).
984
-
985
968
## Extensions
986
969
987
970
Markdown syntax is often extended.
@@ -1196,7 +1179,7 @@ or indeterminate or not applicable (when `null` or not present).
1196
1179
```idl
1197
1180
interface Delete <: Parent {
1198
1181
type: 'delete'
1199
-
children: [TransparentContent]
1182
+
children: [PhrasingContent]
1200
1183
}
1201
1184
```
1202
1185
@@ -1205,7 +1188,7 @@ accurate or no longer relevant.
1205
1188
1206
1189
**Delete** can be used where [**phrasing**][dfn-phrasing-content] content is
1207
1190
expected.
1208
-
Its content model is [**transparent**][dfn-transparent-content] content.
1191
+
Its content model is [**phrasing**][dfn-phrasing-content] content.
1209
1192
1210
1193
For example, the following markdown:
1211
1194
@@ -1269,11 +1252,10 @@ type RowContent = TableCell
1269
1252
type ListContentGfm = ListItemGfm
1270
1253
```
1271
1254
1272
-
#### `StaticPhrasingContent` (GFM)
1255
+
#### `PhrasingContent` (GFM)
1273
1256
1274
1257
```idl
1275
-
type StaticPhrasingContentGfm =
1276
-
FootnoteReference | Delete | StaticPhrasingContent
1258
+
type PhrasingContentGfm = FootnoteReference | Delete | PhrasingContent
1277
1259
```
1278
1260
1279
1261
### Frontmatter
@@ -1365,10 +1347,10 @@ Yields:
1365
1347
}
1366
1348
```
1367
1349
1368
-
#### `StaticPhrasingContent` (footnotes)
1350
+
#### `PhrasingContent` (footnotes)
1369
1351
1370
1352
```idl
1371
-
type StaticPhrasingContentFootnotes = Footnote | StaticPhrasingContent
1353
+
type PhrasingContentFootnotes = Footnote | PhrasingContent
1372
1354
```
1373
1355
1374
1356
### MDX
@@ -1671,10 +1653,6 @@ projects!
1671
1653
1672
1654
[dfn-phrasing-content]: #phrasingcontent
1673
1655
1674
-
[dfn-static-phrasing-content]: #staticphrasingcontent
1675
-
1676
-
[dfn-transparent-content]: #transparentcontent
1677
-
1678
1656
[gfm-section]: #gfm
1679
1657
1680
1658
[gfm-footnote]: https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4