Skip to content
SongHanseoPublic

About

build-time TikZ renderer plugin for quartz 5

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

Quartikz

Build-time TikZ renderer for Quartz 5

This plugin renders TikZ code blocks into SVG diagrams during the build process. It must be inserted before any plugins that manipulate code blocks, such as the Quartz Syntax Highlighting plugin.

Built with rehype-tikzjax, which relies on prinsss/node-tikzjax.

Options

This plugin inherits options from node-tikzjax and adds three custom settings:

  • className: Appends a custom CSS class to the rendered <svg> element for easier styling. (default: "tikz-diagram")
  • removeBlankLines: Removes empty lines from the TikZ code to prevent unexpected LaTeX compilation errors. (default: true)
  • onError: Determines whether to keep the original code block ("skip") or halt the build ("throw") upon a rendering failure. (default: "skip")

Limitations

Because node-tikzjax does not support concurrent rendering, this plugin renders TikZ diagrams consecutively. It might become a bottleneck during the build step if your project contains a massive amount of diagrams.

About

build-time TikZ renderer plugin for quartz 5

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages