mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 06:26:22 +00:00
1,000 B
1,000 B
title | tags | |
---|---|---|
Latex |
|
This plugin adds LaTeX support to Quartz. See features/Latex for more information.
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
This plugin accepts the following configuration options:
renderEngine
: the engine to use to render LaTeX equations. Can be"katex"
for KaTeX or"mathjax"
for MathJax SVG rendering. Defaults to KaTeX.customMacros
: custom macros for all LaTeX blocks. It takes the form of a key-value pair where the key is a new command name and the value is the expansion of the macro. For example:{"\\R": "\\mathbb{R}"}
API
- Category: Transformer
- Function name:
Plugin.Latex()
. - Source:
quartz/plugins/transformers/latex.ts
.