...
Log into your Confluence instance as an admin.
Click on “Apps > Manage apps” in the header menu.
Click on “Find new apps” on the right navigation.
Search for "KaTeX lightning-fast math expressions Math Expressions for Confluence" and select it.
Click on “Try it free” to install the app.
Usage
KaTeX lightning-fast math expressions Math Expressions for Confluence provides two macro macros to insert a math expression into any confluence page. To make use of the macro click the “Insert” / “+” Button in the edit mode and select the “KaTeX lightning-fast math expressions for Confluence” one of the provided macro and add the expression as macro body. Use the macro "KaTeX (Inline)" to add the a math expression (inline) inside other content in your Confluence content and the macro "KaTeX (Block)" to insert it as block.
Macro "KaTeX (Inline)"
Inserts a math expression as inline content.
Macro "KaTeX (Block)"
Inserts a math expression as block content and provides the following options:
Inline mode: The math expression is rendered as one line