@mdit/plugin-katex
v1.2.0
Published
Katex plugin for MarkdownIt
Maintainers
Readme
@mdit/plugin-katex
Katex plugin for MarkdownIt.
Docs | 文档
Install / 安装
# pnpm
pnpm add -D @mdit/plugin-katex
# npm
npm i -D @mdit/plugin-katex
# yarn
yarn add -D @mdit/plugin-katexComparison / 对比
Compared against the upstream markdown-it-katex package 2.0.3.
- Correctness: 10/25 cases match the reference exactly (5 matching after normalization, 5 reference errors, 2 differences).
- Throughput: 0.96× the reference (geometric mean across 6 benchmark cases; above 1× means faster).
- Entry gzip: 605 B versus 2.0 kB for the reference (import cost).
