# \[Plug\] Silverbullet Wypst: Typst math for SilverBullet

**URL:** <https://community.silverbullet.md/t/plug-silverbullet-wypst-typst-math-for-silverbullet/4442>\
**Category:** Plugs and Libraries\
**Created:** [October 12, 2026, 7:56pm UTC](https://community.silverbullet.md/t/plug-silverbullet-wypst-typst-math-for-silverbullet/4442 "2026-10-12T19:56:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![junlangw](https://community.silverbullet.md/user_avatar/community.silverbullet.md/junlangw/32/3943_2.png) [@junlangw](https://community.silverbullet.md/u/junlangw)\
**Post date:** [October 12, 2026, 7:56pm UTC](https://community.silverbullet.md/t/plug-silverbullet-wypst-typst-math-for-silverbullet/4442/1 "2026-10-12T19:56:56Z")

</div>

Hi,

I recently switched from Logseq to SilverBullet because of Logseq's unstable state. I also use Typst a lot and really like how simple it makes writing equations. I used logseq-wypst before and found there was no Typst plugin in this community yet, so I made one with an LLM.

It is a fork of MrMugame's [Silverbullet Math](https://github.com/MrMugame/silverbullet-math) that adds Typst through [wypst](https://github.com/0xpapercut/wypst).

**How it works**

Keep writing `$ ... $` and `$$ ... $$`. Formulas with a LaTeX command like `\pi` go to KaTeX, everything else is rendered as Typst. Same rule as [logseq-wypst](https://github.com/luh-05/logseq-wypst).

Typst: `$sum_(n >= 1) 1/n^2 = pi^2/6$`  
LaTeX: `$\sum_{n \geq 1} \frac{1}{n^2} = \frac{\pi^2}{6}$`

 ![screenshot](https://community.silverbullet.md/uploads/default/original/2X/d/d1d0d35186d43606687d3e70eba35c5a845183c8.png)

**Install**

1. Remove Silverbullet Math in the Library Manager if you have it. Both use `$`.
2. Run `Library: Install` with:  
[silverbullet-Wypst/Wypst.md at main · junlangw/silverbullet-Wypst · GitHub](https://github.com/junlangw/silverbullet-Wypst/blob/main/Wypst.md)

**Limitations**

- I have no prior JavaScript experience, so there may be bugs or security issues. Use at your own risk.
- wypst only supports Typst 0.10 math and is no longer maintained.
- LaTeX without a command, like `$x^{10}$`, is treated as Typst. (Same behavior as logseq-wypst)
- `wypst.wasm` is 12.7 MB. Each device syncs it once.

Tested on SilverBullet 2.11.0.

Thanks to MrMugame, 0xpapercut and luh-05 for the work this builds on.

---

<div class="post-metadata">

**Author:** ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)\
**Post date:** [October 13, 2026, 4:41pm UTC](https://community.silverbullet.md/t/plug-silverbullet-wypst-typst-math-for-silverbullet/4442/2 "2026-10-13T16:41:32Z")

</div>

Very cool 🙂
