Wypst

approved

by 0xpapercut

Render math blocks with Typst

78 stars4,160 downloadsUpdated 1y agoMIT
View on GitHub

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.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.