Skip to content

0xpapercut/obsidian-wypst

Repository files navigation

Wypst

High quality rendering of Typst in Obsidian, powered by wypst.

Usage

This plugin overrides regular math blocks ($<...>$ and $$<...>$$), so that they're rendered as Typst math.

Example

If this plugin doesn't render the LaTeX code in your vault correctly, you can try out the fallbackToLatexOnError experimental setting.

Compatibility

To maximize compatibility with LaTeX math blocks, the rendering backend switches to MathJax when certain structures like \begin{environment}<...>\end{environment} or \<some-symbol> are encoutered.

For example, $pi$ will be rendered using Typst, whereas $\pi$ will be rendered as regular LaTeX.

In general, expressions in Typst and LaTeX, if equivalent, should render to exactly the same output. If this is not the case, you can report it as an issue.

Issues

I welcome everyone who encounters a problem to open an issue on 0xpapercut/obsidian-wypst.