zed
zed copied to clipboard
LaTeX syntax highlighting within markdown
Summary
tree-sitter-markdown supports an optional non-default extension EXTENSION_LATEX which supports displaying syntax highlighting for inline LaTeX inside Markdown documents.
Description
This is not a request to add LaTeX rendering support to Zed Markdown Preview. This would merely support syntax highlighting of LaTex written within Markdown.
At build time, if EXTENSION_LATEX is set, markdown-tree-sitter I believe enable support for this (untested).
$$\int_{coffee}^{code} productivity \cdot d(time) = \sum_{i=0}^{bugs} frustration_i$$
$$\int_{coffee}^{code} productivity \cdot d(time) = \sum_{i=0}^{bugs} frustration_i$$
VSCode vs Zed: