mathblock
Last modified by superadmin on 2026/11/18 11:32
The mathblock Confluence macro is converted to the mathjax macro.
The target macro requires MathJax Macro.
What to use in XWiki
How the Confluence macro compares with the XWiki alternative feature, paths to (manual) replacement of the usage of the Confluence macro with the XWiki feature, etc.
See .
Import details
Details on how this Confluence macro is imported into its XWiki equivalent / alternative (parameters or content conversion, usage conversion).
No parameter is returned. The content is converted as follows.
If the content starts with --uriencoded--, that part is removed, + signs are replaced with %2B, and the result is then URL-decoded.
Then, "{{/" is replaced with "{{ /". This prevents any clash with the XWiki syntax to close the mathjax macro.
Then, for inline macros (mathinline and unit), the content is returned surrounded with "\(" and "\)" and the conversion is done.
Then, if an anchor parameter is present:
- if the content doesn't start with \begin, the content is surrounded with \begin{aligned} and \end{aligned}
- a \label{anchor} line is inserted right after the \begin line (where anchor is the anchor parameter value).