# Does Write.as support inline MathJax code?

**URL:** <https://discuss.write.as/t/does-write-as-support-inline-mathjax-code/6541>\
**Category:** General\
**Created:** [August 5, 2022, 7:43pm UTC](https://discuss.write.as/t/does-write-as-support-inline-mathjax-code/6541 "2022-08-05T19:43:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaoloAmoroso](https://discuss.write.as/user_avatar/discuss.write.as/paoloamoroso/32/1659_2.png) [@PaoloAmoroso](https://discuss.write.as/u/PaoloAmoroso)\
**Post date:** [August 5, 2022, 7:43pm UTC](https://discuss.write.as/t/does-write-as-support-inline-mathjax-code/6541/1 "2022-08-05T19:43:36Z")

</div>

Does the Write.as implementation of MathJax support inline code, i.e. LaTeX code enclosed between `$` characters that renders inline within the text paragraph it appears in? This is an example of inline code: `$y = f(x)$`.

It would seem [inline MathJax is not supported](https://discuss.write.as/t/mathjax-not-rendered/4895).

By the way, this Discourse server is not configured to render LaTeX math.

---

<div class="post-metadata">

**Author:** ![bugbuster](https://discuss.write.as/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@bugbuster](https://discuss.write.as/u/bugbuster)\
**Post date:** [August 5, 2022, 11:40pm UTC](https://discuss.write.as/t/does-write-as-support-inline-mathjax-code/6541/2 "2022-08-05T23:40:44Z")

</div>

For inline MathJax/LaTeX, write.as/writefreely does not work with $, you need to use `\\(` and `\\)` instead of `$`

See toward the bottom of this page where inline MathJax is written using `\\(` and `\\)`

> **[MathJax and LaTeX](https://jwc.writeas.com/mathjax)**
>
> MathB.in | TeXMe | MathJax is available in write.as blog posts only, not anonymous posts. great MathJax reference MathJax turns 3.0 onli...

---

<div class="post-metadata">

**Author:** ![PaoloAmoroso](https://discuss.write.as/user_avatar/discuss.write.as/paoloamoroso/32/1659_2.png) [@PaoloAmoroso](https://discuss.write.as/u/PaoloAmoroso)\
**Post date:** [August 6, 2022, 7:45am UTC](https://discuss.write.as/t/does-write-as-support-inline-mathjax-code/6541/3 "2022-08-06T07:45:59Z")

</div>

Doh, thanks @bugbuster!

---

<div class="post-metadata">

**Author:** ![arnos-stuff](https://discuss.write.as/user_avatar/discuss.write.as/arnos-stuff/32/2484_2.png) [@arnos-stuff](https://discuss.write.as/u/arnos-stuff)\
**Post date:** [December 7, 2022, 12:20pm UTC](https://discuss.write.as/t/does-write-as-support-inline-mathjax-code/6541/4 "2022-12-07T12:20:26Z")

</div>

For anyone mass migrating their old posts, [I’m cooking up a few regex you can use](https://gist.github.com/arnos-stuff/b596e11e4fcb3cf4d92ecd74c9623a55) to turn all the `$` into `\\(` and `\\)` pairs while ignoring `$$ ... $$` patterns

My blog is [this one](https://write.as/arnov/invertible-square-matrices-form-an-open-and-dense-set) for reference, so far so good 😅
