DescriptionHi team! I'm trying to create a quarto shortcode extension that adds inserts an executable code chunk into the document. However whenever I return a Here's a repo with a minimal example: https://github.com/dfalbel/short Is this something that should be possible with shortcodes? What am I doing wrong? Thank you! |
Answered by
cscheid
Oct 25, 2023
Replies: 1 comment 3 replies
Even without going into your code, that's not going to work at all :( Lua filters happen after knitr has already executed. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, those are also "executable", and are handled before pandoc :(
Lua filters currently handle "evaluated content" (that's not a real term we use, but gives you the right mental model). Knitr, Jupyter, OJS,
dot,mermaidjsare all determined before Pandoc. Effectively, things that are denoted like so:Are all handled before Pandoc is called.