How to render Latex code with HTML in a Confluence page

This explains how we can render Latex code in a Confluence page with HTML for Confluence app.


  1. Create a confluence page and add HTML-bobswift macro to add HTML content.

  2. Add MathJax references at the beginning of your HTML content as below:

    <script type="text/javascript" async="" src=""> </script>
  3. Convert your Latex code to HTML code. Refer to convert the same.

  4. Add converted HTML code to the content of HTML-bobswift macro.

  5. Publish the page to see the result.


  1. Ensure HTML for confluence app installed in your confluence instance.

  2. Some of the sites listed in this page are third party sites. If you have any other sites, you can use that one as well.