-
DescriptionIs I ask because I am implementing some pre-render stage processing scripts and thought that if they can be implemented as lua filters they will be more portable and possibly compatible with pre-render document hooks in the future. I think @jjallaire mentioned this somewhere in an issue before but can't find it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
If you use only plain markdown and none of Quarto features such as Callouts, tablets, code cells evaluation, etc. then it should be as after all, Quarto uses Pandoc. |
Beta Was this translation helpful? Give feedback.
-
Yes, but I mean exactly those features. Callouts, for instance, are pandoc markdown native divs with a class and attributes, which quarto itself processes with lua filters. Code cells, by having options as comments rather than what were non-pandoc valid options in the code cell header in R Markdown, become valid pandoc markdown code blocks. I'm wondering if this is the case of all quarto features by design. |
Beta Was this translation helpful? Give feedback.
Two bits of genuinely custom syntax in Quarto:
shortcodes, especially if you want substrings like
--
or*hello*
to not be converted to markdown. (For example, Pandoc will butcher{{< video https://youtube.com/this--are--not--en-dashes >}}
)executable code cells. Pandoc 3 doesn't like the following syntax:
Look at this: