• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

MathJax/LaTex BB Code

I can't seem to find anything in the RM for this. I can't imagine there's a huge demand by forum goers wanting to embed math into their posts, but I'm one that does.

Here's a CDN based system that can be used to embed math into web pages.


And here's a description of LaTeX.


I imagine that a BB Code would replace the LaTeX delimiter with [math][/math] or [latex][/latex] type codes.

Anyway, just putting it out there that there seems to be a lack of an add-on/BB Code of this type. Maybe someone looking to practice some coding might be interested in a project like this?
Would this get it working on XenForo?


If you have the ability to edit the HTML of your blog’s header, paste the following code just below the line with the <title> tag on it:
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']],
                       displayMath: [['\\[','\\]'], ['$$','$$']]}});
<script type="text/javascript"
Warning: This could mess up code big time, cause XenForo's title isn't coded like on some blog. Where's is XenForo's title and and any free or paid tutorials on how to put in the code safely?
Last edited: