Skip to content

TYPST RENDER 0.18.0

Choose a tag to compare

@mcanouil-dev mcanouil-dev released this 17 Jun 08:26
· 3 commits to main since this release
3a387da

Installation

quarto add mcanouil/quarto-typst-render@0.18.0

Changelog

New Features

  • feat: add a html value for format that renders {typst} blocks and inline expressions as native HTML for HTML-based output, using Typst 0.15 HTML export.
    Maths become accessible MathML and prose becomes selectable semantic HTML instead of an image.
    It requires a Typst >= 0.15 binary via QUARTO_TYPST and falls back to SVG otherwise; content that relies on layout must be wrapped in Typst's html.frame.
  • feat: add a global math: typst option that renders every document equation ($...$ and $$...$$) as Typst math syntax rather than LaTeX.
    HTML output gets native MathML and Typst output passes the maths through unchanged, while Quarto equation numbering and @eq- cross-references keep working.
    Reference the extension by name without an at: stage so its filters run where they are needed.

What's Changed

  • feat: add native HTML output and Typst equation rendering by @mcanouil in #76
  • ci: bump version for release 🚀 by @mcanouil-dev[bot] in #77

Full Changelog: 0.17.0...0.18.0