Skip to content

Commit

Permalink
Remove Footnote
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 28, 2023
1 parent fad4dcc commit 1376ede
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ The latest released version is [`4.0.0`][latest].
* [Extensions](#extensions)
* [GFM](#gfm)
* [Frontmatter](#frontmatter)
* [Footnotes](#footnotes)
* [MDX](#mdx)
* [Glossary](#glossary)
* [List of utilities](#list-of-utilities)
Expand Down Expand Up @@ -1311,51 +1310,6 @@ If frontmatter is present, it must be limited to one node in the
type FlowContentFrontmatter = FrontmatterContent | FlowContent
```

### Footnotes

The following interfaces are found with footnotes (pandoc).
Note that pandoc also uses [**FootnoteReference**][dfn-footnote-reference]
and [**FootnoteDefinition**][dfn-footnote-definition], but since
[GFM now supports footnotes][gfm-footnote], their definitions were moved to the
[GFM][gfm-section] section

#### `Footnote`

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

**Footnote** ([**Parent**][dfn-parent]) represents content relating to the
document that is outside its flow.

**Footnote** can be used where [**phrasing**][dfn-phrasing-content] content is
expected.
Its content model is also [**phrasing**][dfn-phrasing-content] content.

For example, the following markdown:

```markdown
^[alpha bravo]
```

Yields:

```js
{
type: 'footnote',
children: [{type: 'text', value: 'alpha bravo'}]
}
```

#### `PhrasingContent` (footnotes)

```idl
type PhrasingContentFootnotes = Footnote | PhrasingContent
```

### MDX

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

[dfn-phrasing-content]: #phrasingcontent

[gfm-section]: #gfm

[gfm-footnote]: https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/

[list-of-utilities]: #list-of-utilities

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

0 comments on commit 1376ede

Please sign in to comment.