Code source wiki de Confluence bridge for Mathinline
Modifié par Admin le 16/10/2025 - 23:33
Afficher les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| 1 | = Description = | ||
| 2 | |||
| 3 | This is a bridge for the Confluence Mathinline macro to XWiki's [[Mathjax macro>>https://extensions.xwiki.org/xwiki/bin/view/Extension/MathJaxMacro]]. | ||
| 4 | |||
| 5 | |=Parameter|=Description|=Mandatory? | ||
| 6 | |##body##|The math expression. It can start with ##~-~-uriencoded~-~-##, in which case the math expression needs to be url-encoded.|Yes | ||
| 7 | |||
| 8 | == Usage example == | ||
| 9 | |||
| 10 | {{code language="none"}} | ||
| 11 | The answer is {{confluence_mathinline body="--uriencoded--\sqrt%7B2+x%5e3%7D=\cfrac%7B1%7D%7Ba_1%7D"/}} | ||
| 12 | {{/code}} | ||
| 13 | |||
| 14 | Result: | ||
| 15 | |||
| 16 | The answer is {{confluence_mathinline body="--uriencoded--\sqrt%7B2+x%5e3%7D=\cfrac%7B1%7D%7Ba_1%7D"/}} | ||
| 17 | |||
| 18 | See also: | ||
| 19 | |||
| 20 | * [[Mathblock]] | ||
| 21 | * [[MathblockRef]] |