Render LaTeX maths with KaTeX, copy the source, and start from ready-made formula templates.
用 KaTeX 渲染 LaTeX 数学公式,复制源码,并提供常用公式模板一键套用。
A LaTeX maths renderer using KaTeX, the fast typesetting engine that powers the fastest maths on the web. Write a formula in plain LaTeX and see it typeset instantly — fractions, integrals, matrices, aligned equations and all. Unlike a full TeX distribution, KaTeX needs no server and no compilation step, which is why documentation sites use it. You can copy the source or start from a set of ready-made templates.
一个用 KaTeX 实现的 LaTeX 公式渲染器——KaTeX 是网页上最快的数学排版引擎之一。写一段 LaTeX,公式立刻排好版:分式、积分、矩阵、对齐公式全都支持。它不需要完整 TeX 发行版,也不跑编译步骤,这正是各类文档站点选它的原因。源码可一键复制,也提供一组现成模板供你起步。
No. KaTeX is a pure JavaScript typesetter — there is nothing to compile and no server involved, which is why it renders in milliseconds.
不需要。KaTeX 是纯 JavaScript 排版器,无需编译也没有服务端,因此是毫秒级渲染。
The expression still renders with the problematic part marked in red, and the error text tells you what is wrong, so you can fix it without hunting for a compile log.
仍然会渲染,出错的部分用红色标出并给出错误说明,不用去翻编译日志就能定位。
The common ones: fractions, roots, matrices, cases, aligned equations, over/under braces, and the standard symbol set. Full TikZ or custom macro packages are not supported.
常用的一批:分式、根式、矩阵、cases 环境、对齐公式、上下花括号以及标准符号集。不支持完整 TikZ 或自定义宏包。
Yes — copy the LaTeX source into a Markdown document that supports maths, such as GitHub with $…$ delimiters.
可以。把 LaTeX 源码复制到支持数学公式的 Markdown 文档中,例如 GitHub 用 $…$ 包裹。
Write Mermaid text and render flowcharts, sequence diagrams, Gan…
写 Mermaid 文本即可渲染流程图、时序图、甘特图、思维导图与 ER 图,可…
Paste CSV or JSON and get a bar, line, pie, doughnut, radar or s…
粘贴 CSV 或 JSON 数据,生成柱状图、折线图、饼图、雷达图与散点图,可下…
Build analogous, complementary, triadic and monochrome palettes …
从一个主色生成邻近色、互补色、三分色与单色渐变方案,检测与白色的对比度,导出 C…