Skip to content

Commit 1376ede

Browse files
committed
Remove Footnote
1 parent fad4dcc commit 1376ede

File tree

1 file changed

+0
-50
lines changed

1 file changed

+0
-50
lines changed

readme.md

-50
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ The latest released version is [`4.0.0`][latest].
5757
* [Extensions](#extensions)
5858
* [GFM](#gfm)
5959
* [Frontmatter](#frontmatter)
60-
* [Footnotes](#footnotes)
6160
* [MDX](#mdx)
6261
* [Glossary](#glossary)
6362
* [List of utilities](#list-of-utilities)
@@ -1311,51 +1310,6 @@ If frontmatter is present, it must be limited to one node in the
13111310
type FlowContentFrontmatter = FrontmatterContent | FlowContent
13121311
```
13131312

1314-
### Footnotes
1315-
1316-
The following interfaces are found with footnotes (pandoc).
1317-
Note that pandoc also uses [**FootnoteReference**][dfn-footnote-reference]
1318-
and [**FootnoteDefinition**][dfn-footnote-definition], but since
1319-
[GFM now supports footnotes][gfm-footnote], their definitions were moved to the
1320-
[GFM][gfm-section] section
1321-
1322-
#### `Footnote`
1323-
1324-
```idl
1325-
interface Footnote <: Parent {
1326-
type: 'footnote'
1327-
children: [PhrasingContent]
1328-
}
1329-
```
1330-
1331-
**Footnote** ([**Parent**][dfn-parent]) represents content relating to the
1332-
document that is outside its flow.
1333-
1334-
**Footnote** can be used where [**phrasing**][dfn-phrasing-content] content is
1335-
expected.
1336-
Its content model is also [**phrasing**][dfn-phrasing-content] content.
1337-
1338-
For example, the following markdown:
1339-
1340-
```markdown
1341-
^[alpha bravo]
1342-
```
1343-
1344-
Yields:
1345-
1346-
```js
1347-
{
1348-
type: 'footnote',
1349-
children: [{type: 'text', value: 'alpha bravo'}]
1350-
}
1351-
```
1352-
1353-
#### `PhrasingContent` (footnotes)
1354-
1355-
```idl
1356-
type PhrasingContentFootnotes = Footnote | PhrasingContent
1357-
```
1358-
13591313
### MDX
13601314

13611315
See [`remark-mdx`](https://mdxjs.com/packages/remark-mdx/#syntax-tree).
@@ -1656,10 +1610,6 @@ projects!
16561610

16571611
[dfn-phrasing-content]: #phrasingcontent
16581612

1659-
[gfm-section]: #gfm
1660-
1661-
[gfm-footnote]: https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/
1662-
16631613
[list-of-utilities]: #list-of-utilities
16641614

16651615
[unist]: https://github.com/syntax-tree/unist

0 commit comments

Comments
 (0)