# \#公式

**URL:** https://forum.freemdict.com/tag/244-tag/244.md

[最新](https://forum.freemdict.com/latest.md) · [类别](https://forum.freemdict.com/categories.md) · [标签](https://forum.freemdict.com/tags.md)

---

## [mdx可以显示LaTeX公式](https://forum.freemdict.com/t/topic/6692)

<div class="topic-metadata">

**Author:** [@Mandolin](https://forum.freemdict.com/u/Mandolin)\
**回复:** 30\
**最近更新：:** [2022 年4 月 9 日 07:19 UTC](https://forum.freemdict.com/t/topic/6692 "2022-04-09T07:19:12Z")

</div>

刚测试了下，mdx还是勉强可以显示公式的，不过各个客户端的支持情况不一样。方法是通过 KaTex 来渲染，KaTex 很轻量，可以只把需要的文件打包进 mdd 里就行了，不大，1M 左右。 试了下两种调用方式（这两种在Chrome浏览器里…
