How can I disable indented code blocks in Quarto? #14935
Unanswered
beedell-roke
asked this question in
Q&A (Q1)
Replies: 3 comments 16 replies
|
Do you have a small reproducible example? |
6 replies
This comment was marked as low quality.
This comment was marked as low quality.
|
For what's worth, Quarto 2 uses (our own) variant of Markdown that simply doesn't allow indented code blocks at all (with no option to turn them back on). I imagine there will be some folks who won't be happy about that, but I needed the parser to be relatively simple and robust, and couldn't make a sufficiently-good tree-sitter grammar that included indented code blocks plus bullet lists. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
As many hundreds have asked about for other CommonMark-related technologies, 1 I want to disable the four-space
pre > codesyntax. I want to because it prevents me utilising indented HTML code, when I add any content that includes a\n(most frequently, content inside apre > code). That is because CommonMark solely supports indented HTML when it does not span a line break.This question may not be best placed in the
.*-clirepository. Please transfer it, if so.Footnotes
meta.discourse.org/t/112161/14↩All reactions