mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-07-24 23:31:29 +00:00
.github
content
docs
advanced
features
images
plugins
AliasRedirects.md
Assets.md
CNAME.md
Citations.md
ComponentResources.md
ContentIndex.md
ContentPage.md
CrawlLinks.md
CreatedModifiedDate.md
CustomOgImages.md
Description.md
ExplicitPublish.md
FolderPage.md
Frontmatter.md
GitHubFlavoredMarkdown.md
HardLineBreaks.md
Latex.md
NotFoundPage.md
ObsidianFlavoredMarkdown.md
OxHugoFlavoredMarkdown.md
RemoveDrafts.md
RoamFlavoredMarkdown.md
Static.md
SyntaxHighlighting.md
TableOfContents.md
TagPage.md
index.md
tags
authoring content.md
build.md
configuration.md
hosting.md
index.md
layout-components.md
layout.md
migrating from Quartz 3.md
philosophy.md
setting up your GitHub repository.md
showcase.md
upgrading.md
quartz
.gitattributes
.gitignore
.node-version
.npmrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
Dockerfile
LICENSE.txt
README.md
globals.d.ts
index.d.ts
package-lock.json
package.json
quartz.config.ts
quartz.layout.ts
tsconfig.json
Co-authored-by: Aaron Pham <contact@aarnphm.xyz> Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
1.1 KiB
1.1 KiB
title, tags
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,"mathjax"
for MathJax SVG rendering, or"typst"
for Typst (a new way to compose LaTeX equation). 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}"}
[!note] Typst support
Currently, typst doesn't support inline-math
API
- Category: Transformer
- Function name:
Plugin.Latex()
. - Source:
quartz/plugins/transformers/latex.ts
.