All plugins

Math

KaTeX-rendered math from $...$ and $$...$$ blocks.

@docmd/plugin-math

Overview

Adds LaTeX-style math support via KaTeX. Inline $...$ and display $$...$$ blocks render at build time, so the client only needs a small CSS file plus the KaTeX font.

Installation

docmd add math

Install via the docmd CLI, then enable under plugins.math in docmd.config.json.

Permissions

Runtime behaviour of this plugin during a build:

CapabilityUsed
Reads project filesYes
Writes to site/No
Network requestsNo
Runs subprocessNo

Capabilities

docmd hooks this plugin registers:

markdown assets

Tags

latexkatexmath