typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

[Feature] Support for multi-paragraph footnotes #5130

Open andredelft opened 2 years ago

andredelft commented 2 years ago

It would be nice if Typora would support multi-paragraph footnotes as described here: https://www.markdownguide.org/extended-syntax#footnotes.

Currently, only the first paragraph of such a 'big footnote' is included in the note, while the rest is rendered as codeblock. For example:

Here's a simple footnote,[^1] and here's a longer one.[^bignote]

[^1]: This is the first footnote.

[^bignote]: Here's one with multiple paragraphs and a quote.

    Indent paragraphs to include them in the footnote.

    > My quote

    Add as many paragraphs as you like.

This is rendered in Typora as follows:

Schermafbeelding 2022-03-17 om 10 59 29
andredelft commented 2 years ago

Note BTW that GitHub itself does support it:

Here's a simple footnote,[^1] and here's a longer one.[^bignote]

[^1]: This is the first footnote.

[^bignote]: Here's one with multiple paragraphs and quote.

Indent paragraphs to include them in the footnote.

 > My quote

Add as many paragraphs as you like.