Should Quarto source text be markup instead of markdown? #14681
Replies: 2 comments 4 replies
-
|
You can write raw HTML, raw LaTeX, raw Typst, and raw OpenXML. If you are suggesting to create a fully new markup, that's very unlikely to happen in my opinion and not sure to see what this would bring exactly. What you are suggesting would be a completely new tool / breaking change as it wouldn't be compatible with all rmarkdown/quarto documents of the past 10+ years. FWIW, you are opposing Markdown to markup languages, but Markdown is a markup language. |
Beta Was this translation helpful? Give feedback.
-
|
Quarto's plain-text document format is going to be (some close variant of) Markdown for the lifetime of the project, including Quarto 2. This is not a discussion that I think is fruitful, so I'm not going to encourage it. You can always write project pre-render scripts to convert from your choice of language to QMD. |
Beta Was this translation helpful? Give feedback.
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
The original case for markdown was that the source text file should be human readable. And for various historical and technical reasons, markdown became the source text format for Quarto.
But does anyone else feel that
qmdfiles are not really read (in their final form) as documents, and so markdown is unnecessarily limiting? For example, there are restrictions and complications on (combinations of) table formatting, footnote paragraphs, bidi, spans, divs, etc.Markdown still has the advantage that the source text cannot be too complicated and that makes it easier for Quarto/pandoc to render the output in different formats (HTML, PDF, etc.).
But would it be better if the source text for Quarto was a markup language meant to be read by the machine? And human readbility, while important, would be a secondary consideration. I don't mean something crazy like xml. Rather, something like what Typst is trying to do with Tex. A clean start with better fundamentals. And of course it will evolve and get more complex. But hopefully the better fundamentals will provide a good balance of power and maintainability.
Can the new
qmlat least be an option along withqmd?One possible low hanging fruit could be the use of braces
{}(or other convenient delimiter) to fundamentally support nested constructs.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions