---
title: "How to render Latex code with HTML in a Confluence page"
canonical: "https://support.appfire.com/space/SUPPORT/89131483/How%20to%20render%20Latex%20code%20with%20HTML%20in%20a%20Confluence%20page"
format: markdown
---
This explains how we can render Latex code in a Confluence page with *HTML for Confluence *app.

## Instructions:

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:
3. Convert your Latex code to HTML code. Refer  [https://pandoc.org/try/](https://pandoc.org/try/) 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.