Overview of remark-math packages
mainThe remark-math monorepo provides a suite of plugins for handling LaTeX math in Markdown and HTML using the unified ecosystem. It is split into three primary packages:
remark-math: Aremarkplugin that adds support for math syntax in Markdown (both inline and display math) or via fenced code blocks (```math).rehype-katex: Arehypeplugin that renders math nodes into HTML using the KaTeX engine.rehype-mathjax: Arehypeplugin that renders math nodes into HTML using the MathJax engine.
This workflow allows you to parse math syntax during the Markdown processing phase and render it into static HTML at compile time, eliminating the need for client-side JavaScript for math rendering.