# Upgrading Mathjax to version 4

**URL:** <https://meta.discourse.org/t/upgrading-mathjax-to-version-4/392669>\
**Category:** Development\
**Tags:** math\
**Created:** [November 23, 2025, 5:57pm UTC](https://meta.discourse.org/t/upgrading-mathjax-to-version-4/392669 "2025-11-23T17:57:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [November 26, 2025, 9:09am UTC](https://meta.discourse.org/t/upgrading-mathjax-to-version-4/392669/6 "2025-11-26T09:09:36Z")

</div>

> [@mcmcclur](#):
>
> So, I guess you’ll build a `loadMathJax` function for your library that’s used to load MathJax?

Yes, exactly. A good one to copy is morphlex:

> <https://github.com/discourse/discourse/blob/15e8a8042fe51645d462fe48d44aeeebe7808819/frontend/discourse/app/lib/load-morphlex.js#L1-L8>

---

_[View the full topic](https://meta.discourse.org/t/upgrading-mathjax-to-version-4/392669)._
