mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
21 lines
789 B
Markdown
21 lines
789 B
Markdown
|
---
|
||
|
title: "Latex"
|
||
|
tags:
|
||
|
- plugin/transformer
|
||
|
---
|
||
|
|
||
|
This plugin adds LaTeX support to Quartz. See [[features/Latex|Latex]] for more information.
|
||
|
|
||
|
> [!note]
|
||
|
> For information on how to add, remove or configure plugins, see the [[Configuration#Plugins|Configuration]] page.
|
||
|
|
||
|
This plugin accepts the following configuration options:
|
||
|
|
||
|
- `renderEngine`: the engine to use to render LaTeX equations. Can be `"katex"` for [KaTeX](https://katex.org/) or `"mathjax"` for [MathJax](https://www.mathjax.org/) [SVG rendering](https://docs.mathjax.org/en/latest/output/svg.html). Defaults to KaTeX.
|
||
|
|
||
|
## API
|
||
|
|
||
|
- Category: Transformer
|
||
|
- Function name: `Plugin.Latex()`.
|
||
|
- Source: [`quartz/plugins/transformers/latex.ts`](https://github.com/jackyzha0/quartz/blob/v4/quartz/plugins/transformers/latex.ts).
|