MoinLight

docs/wiki/MoinSyntax

311:4b86f7f894b8
2021-10-26 Paul Boddie Fixed table feature padding patterns to consume only a single line.
     1 = Moin Format Syntax =     2      3 The syntax of the wiki format is described in various locations on the     4 [[MoinMoin:]] site:     5      6  * [[MoinMoin:HelpOnMoinWikiSyntax]]     7  * [[MoinMoin:HelpOnEditing]]     8      9 Various enhancements are introduced in MoinLight, and these are described    10 below.    11     12 <<TableOfContents(2,2)>>    13     14 == Anchor ==    15     16 Introduce an anchor employing a fragment identifier that can be reached by a    17 link employing the identifier. For example, [[#end]] is a link to the anchor    18 {{{((end))}}} near the end of this page.    19     20 === Syntax ===    21     22 {{{    23 ((identifier))    24 }}}    25     26 Here, `identifier` is the fragment identifier for the anchor.    27     28 === Related ===    29     30 The {{{<<Anchor(identifier)>>}}} macro has the same function.    31     32 == Line Break ==    33     34 Introduces a line break in the page. For example:    35     36 Above\\Below    37     38 === Syntax ===    39     40 {{{    41 Above    42 \\    43 Below    44 }}}    45     46 Here, {{{\\}}} is the line break symbol.    47     48 === Related ===    49     50 The {{{<<BR>>}}} macro has the same function.    51     52 == Links ==    53     54 Link syntax remains largely compatible with Moin, but it is possible to break    55 links across lines. For example:    56     57 [[MoinSyntax|a description of a link to the Moin format syntax    58 wrapped across multiple lines]]    59     60 === Syntax ===    61     62 {{{    63 [[MoinSyntax|a description of a link to the Moin format syntax    64 wrapped across multiple lines]]    65 }}}    66     67 === Related ===    68     69 The [[MoinMoin:HelpOnLinking|Moin link syntax]] applies, including the    70 transclusion syntax.    71     72 == Lists ==    73     74 List syntax is generally compatible with Moin, but MoinLight supports a less    75 restrictive syntax in certain cases. For example:    76     77  `title`:: value    78     79 Here, the definition list supports formatting in the title element of each    80 list item.    81     82 === Syntax ===    83     84 To illustrate the above example:    85     86 {{{    87  `title`:: value    88 }}}    89     90 == Table Regions ==    91     92 Provides a more readable and convenient way of describing tables. For example:    93     94 {{{#!table    95 Top Left || Top Right    96 ==    97 Bottom Left || Bottom Right    98             .. (continued)    99 }}}   100    101 === Syntax ===   102    103 {{{{   104 {{{#!table   105 Top Left || Top Right   106 ==   107 Bottom Left || Bottom Right   108             .. (continued)   109 }}}   110 }}}}   111    112 === Related ===   113    114 Provides mostly the same functionality as the MoinMoin extension   115 [[MoinMoin:ParserMarket/ImprovedTableParser|ImprovedTableParser]].   116    117 == Verbatim ==   118    119 Introduce text verbatim in the page, ignoring any other markup features that   120 may be present. For example:   121    122 <<<some ''verbatim''   123 text>>>   124    125 === Syntax ===   126    127 {{{   128 <<<some ''verbatim''   129 text>>>   130 }}}   131    132 Here, {{{<<<}}} and {{{>>>}}} enclose the verbatim text.   133    134 === Related ===   135    136 The {{{<<Verbatim(some ''verbatim'' text)>>}}} macro has a similar function,   137 but being a macro it imposes limitations on the enclosed content, such as not   138 permitting newlines.   139    140 ----   141    142 ((end))   143 A demonstration of the [[#Anchor|anchor]] syntax.