# Mathematical expressions

**URL:** https://community.silverbullet.md/t/mathematical-expressions/421
**Category:** General
**Created:** [May 3, 2024, 6:33am UTC](https://community.silverbullet.md/t/mathematical-expressions/421 "2024-05-03T06:33:41Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![mjf](https://community.silverbullet.md/user_avatar/community.silverbullet.md/mjf/32/654_2.png) [@mjf](https://community.silverbullet.md/u/mjf)
#### Post date: [August 15, 2025, 4:50am UTC](https://community.silverbullet.md/t/mathematical-expressions/421/20 "2025-08-15T04:50:18Z")

</div>

> [@LumenYoung](#):
>
> I do believe that we still need to make syntax compatible with the vanilla markdown for parsing the math block (and leave the parsing of the math expression to the specific math engine like mathjax/katex/typst). This way we can make it less customized to make use of good static site generator tool like quartz.

+1

Yeah, the `$$` blocks and `$ ... $` inlines are very common and everybody knows them (not speaking that almost every matured static site generator supports them in some way). Perhaps we should consider hooking Lua on specific AST nodes and that way  
we can have both ways at once (the Lua call `${math.inline[[...]]}` and the common syntax). @MrMugame Is it doable (to hook Lua on math AST nodes)? 🙂

---

_[View the full topic](https://community.silverbullet.md/t/mathematical-expressions/421)._
