| title |
Math |
| description |
LaTeX math rendering with inline ($...$) and block ($$...$$) support |
| id |
diaryx.math |
| version |
0.1.3 |
| author |
Diaryx Team |
| license |
PolyForm Shield 1.0.0 |
| repository |
https://github.com/diaryx-org/plugin-math |
| categories |
|
| tags |
|
| capabilities |
|
| artifact |
| url |
sha256 |
size |
published_at |
|
|
0 |
|
|
| ui |
| slot |
id |
label |
EditorExtension |
mathInline |
Math |
|
| slot |
id |
label |
EditorExtension |
mathBlock |
Math Block |
|
|
Extism WASM guest plugin that renders LaTeX math expressions to MathML.
This plugin contributes two EditorExtension slots via the plugin manifest:
-
Inline math (
$...$) — InlineAtom node with popover editing
-
Block math (
$$...$$) — BlockAtom node with source toggle editing
The host generates TipTap Node extensions from the manifest and calls the plugin's render export to convert LaTeX to MathML via pulldown-latex.
diaryx.math
| Export |
Description |
manifest() |
Plugin metadata + editor extension declarations |
render(params) |
Render LaTeX string to MathML |
cargo build -p diaryx_math_extism --target wasm32-wasip1 --release