Wiki-Quellcode von Confluence bridge for Mathblock
Version 1.1 von xwikiadmin am 2024/06/24 14:35
Zeige letzte Bearbeiter
author | version | line-number | content |
---|---|---|---|
1 | = Description = | ||
2 | |||
3 | This is a bridge for the Confluence Mathblock macro to XWiki's [[Mathjax macro>>https://extensions.xwiki.org/xwiki/bin/view/Extension/MathJaxMacro]]. | ||
4 | |||
5 | |=Parameter|=Description|=Mandatory?|=Default value | ||
6 | |##anchor##|The anchor to make a reference to this math expression|No|//Empty// | ||
7 | |||
8 | Note: the ##alignment## parameter is not yet supported. | ||
9 | |||
10 | == Usage example == | ||
11 | |||
12 | {{excerpt}} | ||
13 | {{code language="none"}} | ||
14 | {{confluence_mathblock anchor="myanchor"}} | ||
15 | 2+\frac 1 2 x | ||
16 | {{/confluence_mathblock}} | ||
17 | |||
18 | This block can be referenced like in the following sentence. Expression {{confluence_mathblock-ref anchor="myanchor"/}} shows some random and non-sensitical math. | ||
19 | {{/code}} | ||
20 | |||
21 | Result: | ||
22 | |||
23 | {{confluence_mathblock anchor="myanchor"}} | ||
24 | 2+\frac 1 2 x | ||
25 | {{/confluence_mathblock}} | ||
26 | |||
27 | This block can be referenced like in the following sentence. Expression {{confluence_mathblock-ref anchor="myanchor"/}} shows some random and non-sensitical math. | ||
28 | {{/excerpt}} | ||
29 | |||
30 | See also: | ||
31 | |||
32 | * [[ConfluenceMathinline]] | ||
33 | * [[ConfluenceMathblockRef]] |