%META:TOPICINFO{author="TWikiContributor" date="1531569057" format="1.1" version="11"}% ---+ TWiki Editing Shorthand _These instructions are for contributors who prefer to use the Raw Edit over the default WYSIWYG editor._ %STARTINCLUDE%
| Formatting Command: | You write: | You get: |
|---|---|---|
| #TheParagraphs *Paragraphs:* %BR% Blank lines will create new paragraphs. |
|
%IF{"{OpenClosePTags}" then=" |
|
#TheHeadings
*Headings:* %BR%
Three or more dashes at the beginning of a line, followed by plus signs and the heading text. One plus creates a top level heading, two pluses a second level heading, etc. The maximum heading depth is 6.
* icon:tip You can create a table of contents with the [[VarTOC][% |
|
%IF{"{OpenClosePTags}" then="SushiMaguroNot in TOC |
| #BoldText *Bold Text:* %BR% Words get shown in *bold* by enclosing them in =*= asterisks. |
|
%IF{"{OpenClosePTags}" then=" |
| #ItalicText *Italic Text:* %BR% Words get shown in _italic_ by enclosing them in =_= underscores. |
|
%IF{"{OpenClosePTags}" then=" |
| #BoldItalic *Bold Italic:* %BR% Words get shown in __bold italic__ by enclosing them in =__= double-underscores. |
|
%IF{"{OpenClosePTags}" then=" |
|
#FixedFont
*Fixed Font:* %BR%
Words get shown in =fixed font= by enclosing them in = |
|
%IF{"{OpenClosePTags}" then=" |
|
#BoldFixedFont
*Bold Fixed Font:* %BR%
Words get shown in ==bold fixed font== by enclosing them in == |
|
%IF{"{OpenClosePTags}" then=" |
| * icon:tip You can follow the closing bold, italic, or other (=* _ __ = ===) indicator with normal punctuation, such as commas and full stops. * icon:warning Make sure there is no space between the text and the indicators. * icon:warning All words enclosed by the indicators need to be on the same line. |
|
%IF{"{OpenClosePTags}" then=" |
| #HorizontalRule *Separator (Horizontal Rule):* %BR% Three or more three dashes at the beginning of a line.. |
|
%IF{"{OpenClosePTags}" then=" |
| #BulletedList *Bulleted List:* %BR% Multiple of three spaces, an asterisk, and another space. * icon:help For all the list types, you can break a list item over several lines by indenting lines after the first one by *at least 3 spaces*. |
|
%IF{"{OpenClosePTags}" then=" |
| #IconList *Icon List:* %BR% Multiple of three spaces, an asterisk, text =icon:name= and another space. * icon:help Use the =name= of any TWikiDocGraphics icon. |
|
%IF{"{OpenClosePTags}" then=" |
| #NumberedList *Numbered List:* %BR% Multiple of three spaces, a type character, a dot, and another space. Several types are available besides a number: | *Type* | *Generated Style* | *Sample Sequence* | | 1. | Arabic numerals | 1, 2, 3, 4... | | A. | Uppercase letters | A, B, C, D... | | a. | Lowercase letters | a, b, c, d... | | I. | Uppercase Roman Numerals | I, II, III, IV... | | i. | Lowercase Roman Numerals | i, ii, iii, iv... | |
|
%IF{"{OpenClosePTags}" then=" |
| #DefinitionList *Definition List:* %BR% Three spaces, a dollar sign, the term, a colon, a space, followed by the definition. Deprecated syntax: Three spaces, the term with no spaces, a colon, a space, followed by the definition. |
|
%IF{"{OpenClosePTags}" then=" |
|
#TheTable
*Table:* %BR%
Each row of the table is a line containing of one or more cells. Each cell starts and ends with a vertical bar '|'. Any spaces at the beginning of a line are ignored.
* =| |
|
%IF{"{OpenClosePTags}" then=" |
|
#WikiWordLinks
* |
|
%IF{"{OpenClosePTags}" then=" |
|
#TheAnchors
*Anchors:* %BR%
You can define a reference inside a TWiki topic (called an anchor name) and link to that. To __define__ an anchor write =#AnchorName= at the beginning of a line. The anchor name must be a WikiWord of no more than 32 characters. To __link__ to an anchor name use the =[ |
|
%IF{"{OpenClosePTags}" then=" |
| #ExternalLinks *External Links:* %BR% URLs starting with =file=, =ftp=, =gopher=, =http=, =https=, =irc=, =mailto=, =news=, =nntp= and =telnet= are linked automatically if preceded by whitespace or parenthesis. External links are indicated with a trailing %ICON{external-link}% icon, and open up in a new browser tab or window; the behavior of both can be set in configure or preferences variables (see TWikiExternalLinks for details). Links can be prevented with an =!= exclamation point prefix. |
|
%IF{"{OpenClosePTags}" then=" |
|
#ForcedLinks
#HeRe
*Forced Links:* %BR%
Use double square brackets to create forced links: Write =[ |
|
%IF{"{OpenClosePTags}" then=" |
|
#TopicTitleLinks
*Topic Title Links:* %BR%
Use double square brackets and a plus sign to create links with topic title: Write =[ |
|
%IF{"{OpenClosePTags}" then=" |
| #ReferToTopicOrAttachmentName *Refer to Topic or Attachment Name in Double Square Brackets:* %BR% =$name= in the link label in the double square brackets notation refers to the topic name or the attachment file name. =$name= is used for consistency with QuerySearch, in which =name= refers to the topic name and the attachment file name, respectively. |
|
%IF{"{OpenClosePTags}" then=" |
| #PreventLink *Prevent a Link:* %BR% Prevent a WikiWord from being linked by prepending it with an exclamation point. |
| !RedHat |
| #DisableLinks *Disable Links:* %BR% You can disable automatic linking of WikiWords by surrounding text with =<noautolink>= and =</noautolink>= tags. * icon:help It is possible to turn off all auto-linking with a NOAUTOLINK preferences setting. |
|
%IF{"{OpenClosePTags}" then=" |
|
#MailtoLinks
*Mailto Links:* %BR%
E-mail addresses are linked automatically. To create e-mail links that have more descriptive link text, specify subject lines or message bodies, or omit the e-mail address, you can write =[ |
|
%IF{"{OpenClosePTags}" then=" |
|
#TwitterLinks
*Twitter Links:* %BR%
|
|
%IF{"{OpenClosePTags}" then=" |
| #VerbatimText *Verbatim Text:* %BR% Surround code excerpts and other formatted text with =<verbatim>= and =</verbatim>= tags. * icon:tip The =verbatim= tag disables HTML code. Use =<pre>= and =</pre>= tags instead if you want the HTML code within the tags to be interpreted. * icon:warning Preferences variables (* Set NAME = value) are set within verbatim tags. |
}
}
|
}
}
|
| #LiteralText *Literal Text:* %BR% TWiki generates HTML code from TWiki shorthand. *Experts* surround anything that must be output literally in the HTML code, without the application of TWiki shorthand rules, with =<literal>..</literal>= tags. * icon:warning Any HTML within literal tags *must* be well formed i.e. all tags must be properly closed before the end of the literal block. * icon:tip TWiki Variables are expanded within literal blocks. |
<literal> | Not | A | Table | <literal> |
|
| #ProtectedText *Protected Text:* %BR% *Experts* protect text from mangling by WYSIWYG editors using =<sticky>..</sticky>= tags. Sticky tags don't have any effect on normal topic display; they are only relevant when content has to be protected from a WYSIWYG editor (usually because it isn't well-formed HTML, or because it is HTML that WYSIWYG would normally filter out or modify). Protected content appears as plain text in the WYSIWYG editor. |
<sticky> <div> This div is required </div> </sticky> |
This div is required
|