zgr
October 18, 2024, 4:09am
1
I’m facing an issue with the rendering of code blocks.
If a block has language defined inside, it is not rendered properly.
Any text following that particular language-defined block is rendered badly.
Preceding text is OK.
Below is a sample text
If language is removed everything is fine
I’m not asking for code-language recognition here, which is a completely separate feature (who wouldn’t want that? ). Properly rendered raw text is what I seek.
Thanks.
hbowie
October 18, 2024, 3:59pm
2
I think I see what you’re talking about.
You’re putting the name of a language after the first three backticks… is that right?
But if you look at the Knowledge Base page concerning fenced code blocks, you don’t see any mention of this as an option.
So no, this option is not currently supported.
Let me look into adding some support for this.
Thanks for bringing this to my attention.
1 Like
zgr
October 18, 2024, 5:36pm
3
Exactly!
This is common for markdown editors that support syntax highlighting.
hbowie
October 18, 2024, 5:58pm
4
Check out the latest beta and let me know if this helps.