pandoc-ext / diagram

Generate diagrams from embedded code; supports Mermaid, Dot/GraphViz, PlantUML, Asymptote, and TikZ.
MIT License
53 stars 9 forks source link

Breaking changes in quarto 1.4 #13

Open fradav opened 7 months ago

fradav commented 7 months ago

Hi, quarto 1.4 changed the AST handling for figures in 1.4, so the actual pandoc.Figure code doesn’t work anymore for this release.

See https://quarto.org/docs/prerelease/1.4/lua_changes.html#support-for-crossreferenceable-elements-in-filters

Should we add a whole "if (quarto.version > 1.4)" code path for this? I’m still figuring out how to wrap the pandoc.Figure correctly now.

danmackinlay commented 4 months ago

Relevant information from quarto devs in this discussion