markdown-it-texmath
markdown-it-texmath copied to clipboard
Support TeX math equations with your Markdown documents.
When using `kramdown`, `$$K$$ $$E_1$$ $$E_2$$ ... $$E_K$$` is parsed as `K` This is my code: ```ts const tm = require('markdown-it-texmath'); export const markdownEngine = require('markdown-it')({ html: true }) .use(tm,...
I have following content: ```markdown 123 \[ H = \Delta \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}, \] ``` And the **current result** will be: ``` 123 [...
When a formula is at the very start of a new line, - E.g. `$$ W_A\Delta_B$$ test hello world.` - Renders only the formula, all remaining text is gone: But...
I find this usage at [KaTeX website](https://katex.org/docs/supported.html)  When I use `\colorbox{aqua}{$F=ma$}` or `\fcolorbox{red}{aqua}{$F=ma$}` , it also works in vscode, but it looks bad in browser. like this...
Hi! I'm trying to use markdown-it-texmath with markdown-it-attrs. But I can't apply the attribute to displayed math. Am I missing something ? I tried these ways: ``` \[ f(x) =...
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.15.6 to 0.16.10. Release notes Sourced from katex's releases. v0.16.10 0.16.10 (2024-03-24) Bug Fixes \edef bypassing maxExpand via exponential blowup (e88b4c3) escape \includegraphics src and alt (c5897fc)...
Thanks for maintaining the plugin! The "try it out" link doesn't appear to work: I thought I should let you know
This PR to resolves Issue 49 to support block brackets in the inline mode. Then name math_inline_double reflects the similar approach to double dollars handling.
This patch adds support for persisting user-defined macros between renders in markdown-it-texmath. To persist macros, pass an env object to the `.render()` method: ```js const macros = { "\\RR": "\\mathbb{R}"...
## Not Work ```js const tm = require("markdown-it-texmath"); const md = require("markdown-it")({ html: true, breaks: true }).use(tm, { engine: require("katex"), delimiters: ["brackets", "dollars"], katexOptions: { macros: { "\\RR": "\\mathbb{R}" }...