New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Flavoured Markdown now supports footnotes, too #21
Comments
post note: of course the GFM spec hasn't been updated to include footnotes, probably as wikis aren't supported yet if the rumours I've heard are true |
Thanks for the issue! This is interesting. I'd argue that footnotes are not part of the GFM spec. The footnote extension is not now, nor has has it ever been described in the GFM text spec, see rendered HTML or source in VCS. My understanding is that an off-by-default footnote extension was added to cmark-gfm a long time ago and was recently enabled on github.com. However, that doesn't make the extension part of the core specification IMO.
This should work, but so should |
That's fair, I'll close this then and we can reopen if GitHub ever updates their formal specification for GFM.
Thanks! |
Now gfm support LaTex formula, can mdformat-gfm support it? executablebooks/mdformat#334 |
@Freed-Wu the GFM specification hasn't been updated since 2019 which means it won't contain any recent additions like LaTex or footnotes so no, mdformat-gfm won't be supporting it. |
I just ran mdformat on my README for diff-shades locally as a pre-commit hook and it behaved rather poorly on the footnotes I'm trying to add 🙁 A workaround is also install the
mdformat-myst
plugin alongside this one.https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/
Sorry for the minimal bug report but I am kinda busy on other stuff right now but I didn't want to forget filing an issue by pushing it off til I had more time. Feel free to ask for more details!
The text was updated successfully, but these errors were encountered: