Skip to content

Issue combining a pre-processing filter with a document format. #12801

Answered by cscheid
zachcp asked this question in Q&A
Discussion options

You must be logged in to vote

"the code blocks seem to get parsed however the code blocks themselves are not processed"

I apologize, I think I don't understand very well what you're trying to do, so let me instead describe how Quarto works. Quarto operates in the following approximate order:

  • include shortcodes are resolved
  • engines execute code cells in markdown and produce annotated markdown
  • OJS cells and diagram cells (dot and mermaid) are handled
  • Lua filters are executed

If your filter creates pyiodide code cells, then it needs to be executed before the pyiodide filter that detects those code cells, and the structure you generate needs to precisely match the expectation of the quartolive package.

If you allow me t…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@zachcp
Comment options

@zachcp
Comment options

@cscheid
Comment options

Answer selected by zachcp
@zachcp
Comment options

@cscheid
Comment options

Comment options

You must be logged in to vote
1 reply
@zachcp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
lua Issues related to the lua codebase, filter chain, etc
3 participants