Markdown block: add footnotes support
Issue
Markdown block does not render/hyperlink footnotes as it should
Steps to reproduce
Create a site on WordPress.com, or .org site with Jetpack (Markdown enabled in settings) Add markdown block Paste in footnote markdown e.g-
I have more [^1] to say up here.
[^1]: To say down here.
Preview/Publish
Expected Result
I expected something along the lines of https://www.markdownguide.org/extended-syntax/#footnotes
Actual Result
Seems to not render the footnote page jump links
WP.com

Jetpack site

Ref: 1762746-zen
Related: #325 for the Classic Markdown feature.
Another request 2003538-zen
Also, a non-markdown solution for Footnotes is being discussed in core Gutenberg https://github.com/WordPress/gutenberg/pull/15267
Any development here? Any workaround to still have footnotes working with Markdown?
Should've complied with https://en.support.wordpress.com/markdown-quick-reference/ -- it's the link shown as "support reference" for the markdown block.
Any development here? Any workaround to still have footnotes working with Markdown?
We have made no progress on this so far, but will update this issue when we do.
Should've complied with en.support.wordpress.com/markdown-quick-reference -- it's the link shown as "support reference" for the markdown block.
The Markdown block currently relies on a different flavor of Markdown, thus causing those inconsistencies. See #11881 to find out more.
Another one came up here today about footnotes - 2285644-zen
Requested via Twitter
I wonder if this is something related to this issue but the footnotes appear to have completely stopped appearing for non Blocks Editor, Jetpack-powered blogs.
Jetpack still seems to be parsing them but not publishing them—the footnote text was just removed from the published post.
@adityabhaskar Could you paste an example of a footnote you've tried to add to a post using the Classic editor, and where that footnote was not displayed on the site?
Thank you.
- Love of a good dog[^1].
....
[^1]: Read as 'Love of a dog', _because they are all good dogs, Brant_.
It was on this post.
The footnote text was completely removed from the published post. For the moment, I have removed the square brackets marking the footnote to make it appear.
I just tested it again by adding the brackets to the footnote marker. The footnote was removed again.
I am using the classic editor in WordPress.com app for Mac
It seems to work on my end:
Could you give it another try, but while composing your post from the text editor instead of the visual editor?
Yes, it is working now.
I tested it by composing both from the text editor and the visual editor, and it worked. I even updated the reference post, and the footnote shows.
Thanks @jeherve !
Another case here - #2400283-zen.
There is no option to edit as Text in Classic Block.

There is no option to edit as Text in Classic Block.
You can pick the "Code Editor" option in the block editor's sidebar:

Just experienced this issue and wanted to add some thoughts. It seems to me that Footnotes shouldn't require a markdown block, and previously worked by just enabling markdown on a site in the Writing Settings
When adding a footnote, people generally won't be including a whole paragraph or sentence as markdown text to show that way. It's not how it works in the classic editor.
Received another report of this issue in #16931073-hc
- Footnotes not appearing within Markdown block
- option enabled via WP Admin > Settings > Writing
Another instance of this on a Premium Site, markdown enabled. Tried markdown block, paragraph block, code block but couldn't get it to show the footnotes:
17152867-hc Followup - 2542691-zen
Another one reported, user was unable to add footnotes. Markdown is enabled, tried paragraph block, markdown block, classic block but it did not work.
Chat: 17432713-hc Follow-up: 2575189-zen