diff options
Diffstat (limited to 'TWiki')
-rw-r--r-- | TWiki/TextFormattingRules.mdwn | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/TWiki/TextFormattingRules.mdwn b/TWiki/TextFormattingRules.mdwn index d49447d4..94d22945 100644 --- a/TWiki/TextFormattingRules.mdwn +++ b/TWiki/TextFormattingRules.mdwn @@ -33,6 +33,17 @@ The %WIKITOOLNAME% web has the following types of **_internal links:_** </td> </tr> <tr> + <td valign="top"><strong>Headings:</strong><br /> At least three dashes at the beginning of a line, followed by plus signs and the heading text. One plus creates a level 1 heading (most important), two pluses a level 2 heading; the maximum is level 6. <strong><em>Note:</em></strong> A Table of Content can be created automatically with the <code>%<nop>TOC%</nop></code> variable, see <span style="background:"><font color="">TWiki Variables</font></span><a href="http://LOCATION/TWikiVariables">?</a>. </td> + <td valign="top"><span style="background: #FFFFCC"><font color="#990000"> <pre> +---++ Sushi + +---+++ Maguro +</pre> </font></span></td> + <td valign="top"><nop><h2><a name="Sushi"> Sushi </a></h2> + <p><nop></nop></p> + <h3><a name="Maguro"> Maguro </a></h3></nop></td> + </tr> + <tr> <td valign="top"><strong>Bold Text:</strong><br /> Words get <strong>bold</strong> by enclosing them in <code>*</code> asterisks. </td> <td valign="top"><span style="background: #FFFFCC"><font color="#990000"> <pre> *Bold* @@ -95,7 +106,7 @@ class CatAnimal { </pre></td> </tr> <tr> - <td valign="top"><strong>Separator:</strong><br /> At least four dashes at the beginning of a line. </td> + <td valign="top"><strong>Separator:</strong><br /> At least three dashes at the beginning of a line. </td> <td valign="top"><span style="background: #FFFFCC"><font color="#990000"> <pre> ------- </pre> </font></span></td> @@ -207,26 +218,26 @@ Know.ReadmeFirst </td> </tr> <tr> - <td valign="top"><strong>Specific Links:</strong><br /> Create a link where you can specify the link text and the link reference separately, using nested square brackets like <code>[<nop>[text][reference]]</nop></code>. Internal link references (i.e. <span style="background:"><font color="">Wiki Syntax</font></span><a href="http://LOCATION/WikiSyntax">?</a>) and external link references (i.e. <a href="http://TWiki.org/)" target="_top">http://TWiki.org/)</a> are supported. The same <strong><em>Forced Links</em></strong> rules apply for internal link references. Anchor names can be added as well, like <code>[<nop>[go home][WebHome@MyAnchor]]</nop></code> and <code>[<nop>[Yahoo!][http://www.yahoo.com/#somewhere]]</nop></code>. </td> + <td valign="top"><strong>Specific Links:</strong><br /> Create a link where you can specify the link text and the link reference separately, using nested square brackets like <code>[<nop>[reference][text]]</nop></code>. Internal link references (i.e. <span style="background:"><font color="">Wiki Syntax</font></span><a href="http://LOCATION/WikiSyntax">?</a>) and external link references (i.e. <a href="http://TWiki.org/)" target="_top">http://TWiki.org/)</a> are supported. The same <strong><em>Forced Links</em></strong> rules apply for internal link references. Anchor names can be added as well, like <code>[<nop>[WebHome#MyAnchor][go home]]</nop></code> and <code>[<nop>[http://www.yahoo.com/#somewhere][Yahoo!]]</nop></code>. </td> <td valign="top"><span style="background: #FFFFCC"><font color="#990000"> <pre> -[[syntax][WikiSyntax]] +[[WikiSyntax][syntax]] -[[GNU][http://gnu.org]] +[[http://gnu.org][GNU]] </pre> </font></span></td> - <td valign="top"><span style="background:"><font color="">Wiki Syntax</font></span><a href="http://LOCATION/Syntax">?</a><p><span style="background:"><font color="">http://gnu.org</font></span><a href="http://LOCATION/GNU">?</a></p> + <td valign="top"><span style="background:"><font color="">syntax</font></span><a href="http://LOCATION/WikiSyntax">?</a><p><a href="http://gnu.org" target="_top">GNU</a></p> </td> </tr> <tr> - <td valign="top"><strong>Anchors:</strong><br /> You can define a link reference inside a %WIKITOOLNAME% topic (called an anchor name) and link to that. To <strong><em>define</em></strong> an anchor write <code>@AnchorName</code> at the beginning of a line. The anchor name must be a <span style="background:"><font color="">Wiki Word</font></span><a href="http://LOCATION/WikiWord">?</a>. To <strong><em>link to</em></strong> an anchor name use the <code>[<nop>[MyTopic@MyAnchor]]</nop></code> syntax. You can omit the topic name if you want to link within the same topic. </td> + <td valign="top"><strong>Anchors:</strong><br /> You can define a link reference inside a %WIKITOOLNAME% topic (called an anchor name) and link to that. To <strong><em>define</em></strong> an anchor write <code>#AnchorName</code> at the beginning of a line. The anchor name must be a <span style="background:"><font color="">Wiki Word</font></span><a href="http://LOCATION/WikiWord">?</a>. To <strong><em>link to</em></strong> an anchor name use the <code>[<nop>[MyTopic#MyAnchor]]</nop></code> syntax. You can omit the topic name if you want to link within the same topic. </td> <td valign="top"><span style="background: #FFFFCC"><font color="#990000"> <pre> -[[WebHome@NotThere]] +[[WebHome#NotThere]] -[[Jump][@MyAnchor]] +[[#MyAnchor][Jump]] -@MyAnchor To here +#MyAnchor To here </pre> </font></span></td> - <td valign="top"><span style="background:"><font color="">Web Home@Not There</font></span><a href="http://LOCATION/WebHomeNotThere">?</a><p><span style="background:"><font color="">@My Anchor</font></span><a href="http://LOCATION/Jump">?</a></p> - <p> @MyAnchor To here </p> + <td valign="top"><span style="background:"><font color="">Web Home#Not There</font></span><a href="http://LOCATION/WebHome">?</a><p> Jump </p> + <p><a name="MyAnchor"></a> To here </p> </td> </tr> <tr> |