How to migrate content from MathJax mathinline macro to the LaTeX mathinline macro
This article explains how to migrate the content from the Mathjax mathinline macro to the LaTeX mathinline macro.
Instructions
Log in to Confluence instance as an Administrator and navigate to Cog Wheel >> Manage Apps
Disable the MathJax/Other Math app installed in Confluence.
Click on Find new apps to install the LaTeX Math. Refer to this marketplace link: https://marketplace.atlassian.com/apps/1210882/latex-math?tab=overview&hosting=server
Once you install the app, add the license to the installed LaTeX Math app.
Press the small + button on the right of the page where it says “x of x modules enabled”.
Scroll down and find the “mathinline” module. When the mouse is over it, a “Disable” button is seen as shown below. Click on this and the module will show as disabled.
In the Latex Math settings page, enable the “Automatic conversion to math macros” option.
Navigate to the User Macros page in Confluence and enter the below details:
Macro Name: mathinline
Macro Body Processing: Unrendered
Copy the below template to the macro body.
<ac:macro ac:name="latex"> <ac:plain-text-body><![CDATA\($!parambody$!body\)]></ac:plain-text-body> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> </ac:macro>#doNothing()
Click Save
Refresh the Confluence page containing the mathline macro.
Perform the above steps in a staging environment before implementing them in production.