Skip to main content

Built and signed on GitHub Actions

Adds support for TeX (math) syntax to Eleventy projects

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
3 weeks ago (0.1.2)
f
default

The plugin, to add with eleventyConfig.addPlugin(…), with an optionalsecond argument to configure the plugin as described in theEleventyTeXOptions type.

v
defaultDelimiters

The default delimiters. Includes \(…\) and $…$ for inline TeX, and\[…\] and $$…$$ for display math. Delimiters may be escaped outside ofthese contexts, e.g. \$5 to \$7 dollars will not render a formula.

T
EleventyTeXOptions

An options object. Every option is optional.

T
KaTeXOptions

An options object for parsing & rendering KaTeX. See theKaTeX docs for more info.