# HG changeset patch # User Paul Boddie # Date 1555368387 -7200 # Node ID 1e22f88439cc2ac695004ff0503c41a57f16c416 # Parent 59b97d45298baa325cc1059f6f750ca51a15bfef Improved formatting and descriptions. diff -r 59b97d45298b -r 1e22f88439cc docs/wiki/MoinSyntax --- a/docs/wiki/MoinSyntax Tue Apr 16 00:45:43 2019 +0200 +++ b/docs/wiki/MoinSyntax Tue Apr 16 00:46:27 2019 +0200 @@ -11,53 +11,93 @@ == Anchor == -Syntax: +Introduce an anchor employing a fragment identifier that can be reached by a +link employing the identifier. For example, [[#end]] is a link to the anchor +{{{((end))}}} near the end of this page. + +=== Syntax === {{{ ((identifier)) }}} -Effect: +Here, `identifier` is the fragment identifier for the anchor. -Introduce an anchor employing a fragment identifier that can be reached by a -link employing the identifier. - -Related: +=== Related === The {{{<>}}} macro has the same function. == Line Break == -Syntax: +Introduces a line break in the page. For example: + +Above\\Below + +=== Syntax === {{{ +Above \\ +Below }}} -Effect: +Here, {{{\\}}} is the line break symbol. -Introduces a line break in the page. - -Related: +=== Related === The {{{<
>}}} macro has the same function. +== Table Regions == + +Provides a more readable and convenient way of describing tables. For example: + +{{{#!table +Top Left || Top Right +== +Bottom Left || Bottom Right + .. (continued) +}}} + +=== Syntax === + +{{{{ +{{{#!table +Top Left || Top Right +== +Bottom Left || Bottom Right + .. (continued) +}}} +}}}} + +=== Related === + +Provides mostly the same functionality as the MoinMoin extension +[[MoinMoin:ParserMarket/ImprovedTableParser|ImprovedTableParser]]. + == Verbatim == -Syntax: +Introduce text verbatim in the page, ignoring any other markup features that +may be present. For example: + +<<>> + +=== Syntax === {{{ -<<>> }}} -Effect: +Here, {{{<<<}}} and {{{>>>}}} enclose the verbatim text. -Introduce the enclosed text verbatim in the page, ignoring any other markup -features that may be present. +=== Related === -Related: +The {{{<>}}} macro has a similar function, +but being a macro it imposes limitations on the enclosed content, such as not +permitting newlines. -The {{{<>}}} macro has a similar function, but -being a macro it imposes limitations on the enclosed content, such as not -permitting newlines. +---- + +((end)) +A demonstration of the [[#Anchor|anchor]] syntax.