# Rendering inline math

**URL:** <https://forum.mattermost.com/t/rendering-inline-math/1634>\
**Category:** Troubleshooting\
**Created:** [June 5, 2016, 2:35pm UTC](https://forum.mattermost.com/t/rendering-inline-math/1634 "2016-06-05T14:35:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toogy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/toogy/32/557_2.png) [@toogy](https://forum.mattermost.com/u/toogy)\
**Post date:** [June 5, 2016, 2:35pm UTC](https://forum.mattermost.com/t/rendering-inline-math/1634/1 "2016-06-05T14:35:37Z")

</div>

I’m interested in rendering inline LaTeX formulae, which is very useful for teams discussing maths stuff.

I see there is this issue which is now closed:

> <https://github.com/mattermost/mattermost-server/pull/1351>
>
> Adds latex highlighting support via https://www.npmjs.com/package/katex
> as reque…sted in
> https://mattermost.uservoice.com/forums/306457-general/suggestions/10160757-add-latex-support
> 
> Thought this was a pretty cool and unique feature over competitors, so why not :)
> Highlighting is triggered by passing \`tex\` (or \`latex\`) as the language to a code block
> 
> !\[tex\](https://cloud.githubusercontent.com/assets/1024005/11012601/a863297c-84f6-11e5-9a63-b3945d50e5c0.png)
> 
> Example:
> 
> \`\`\`\`\`\`
> \`\`\`\`tex
> f(x) = \\int\_{-\\infty}^\\infty
> \\hat f(\\xi)\\,e^{2 \\pi i \\xi x}
> \\,d\\xi
> \`\`\`\` ---(remove me otherwise breaks highlight)
> \`\`\`\`\`\`

I commented about 3 months ago but got no reply yet, that’s why I’m also posting a message here.

If inline math is already working, how? If not, would it be possible to add support for it?

---

<div class="post-metadata">

**Author:** ![lfbrock](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lfbrock/32/1901_2.png) [@lfbrock](https://forum.mattermost.com/u/lfbrock)\
**Post date:** [June 8, 2016, 1:19pm UTC](https://forum.mattermost.com/t/rendering-inline-math/1634/2 "2016-06-08T13:19:57Z")

</div>

No, I don’t think it renders inline at the moment. It’s only supported as a type of code block, like in the example on the pull request.

If a community member is interested in contributing a pull request for that we may consider adding it, the other option would be to open a [feature request](http://www.mattermost.org/feature-ideas/) on it to gather support from other users.
