Skip to content

v0.5.0 — inline code-block figures

Choose a tag to compare

@seandavi seandavi released this 21 Jul 02:55
7213659

Install: quarto add seandavi/quarto-livefigures@v0.5.0

  • Inline code-block figures: fence a diagram with a backend class and it becomes a real figure — captions, labels, cross-references included (ADR 0013):
```{.nomnoml #fig-pipe fig-cap="The pipeline"}
[Filter] -> [Cache]

- Classes: `.excalidraw`, `.vega-lite`, `.vega`, `.nomnoml`, `.wavedrom`, `.bytefield`, `.plantuml`; same cache/options/hard-fail behavior as file figures
- **Recommended install form is now** `filters: [{at: pre-ast, path: livefigures}]` — required for crossrefs on inline blocks; plain form still works for file-referenced figures

Full notes in NEWS.md.