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