-
Notifications
You must be signed in to change notification settings - Fork 805
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
Markdown block: Parsing issues and inconsistencies #11881
Comments
FWIW, some of those are already fixable:
Anyway, fixing them is not so straightforward, because we'd also need to account for them in our WP.com implementation of Markdown. |
I was asked in https://wordpress.org/support/topic/definition-lists-not-working-in-markdown-gutenberg-block/#post-11127209 to add some notes here. Also missing from the above list are definition lists and abbreviations. These are both part of Markdown Extra, which is what the Jetpack Markdown module is documented to use. WP.com also claims support for these features on its Markdown support page There are markdown-it plugins available for the missing features: |
Another report of this issue in https://wordpress.com/forums/topic/markdown-code-syntax-highlightyng-using-jetpack/ |
Guys, what is not being said here? 2+ years for NOT resolving something so important to many users. There must be a story behind this. |
@DBJDBJ We're not currently working on the Markdown block, but when we do come back and iterate on that block, we'll definitely be tackling some of the items on the list above. Until then, we've marked this issue as "Good For Community". That means that we'll be happy to review any improvements and bug fixes suggested by community members like you. |
@jeherve What is good for me I have now done: uninstalled Jet Pack. Actually I would very much like to move to HUGO but dbj.org is 500+ posts. It will be done. |
Any chances of adding Markdown footnotes support in Markdown blocks? |
Fixes #11849 Also see #18035 and #11881. This involves bringing in a new dependency to the Jetpack plugin: - https://github.com/markdown-it/markdown-it-footnote - MIT License
We had a question from someone who would like to create page anchors in Markdown: They referenced this .org style guide: I learned that the Markdown block uses CommonMark spec but this doesn't appear to allow page anchors, nor does it seem that the .org method of page anchors works in the Markdown block. I understand work's been done on the footnotes in the block; would it be viable to extend this to regular page anchors? (Or of course if there's something I'm missing about how to make those work, I'll gladly learn!) |
That's correct. Header anchors are not supported at the moment. You can read more about it in this discussion: this doesn't appear to allow page anchors
This is about content published on make.wordpress.org, so it's a bit different. Instead, I would recommend using the option provided in the Heading block to add anchors to headings, like so: That requires using a mix of Markdown blocks and heading blocks, which isn't ideal, but that's one way to work around the problem today. |
In testing how elements are recognized and parsed in our Jetpack Markdown block for Gutenberg, we've discovered several issues and inconsistencies so far.
This is a master issue for all of them, feel free to add any others that you find.
The text was updated successfully, but these errors were encountered: