Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TWiki Text Formatting | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Working in TWiki is as easy as typing in text - exactly like email. You don't need to know HTML, though you can use it if you prefer. Links to topics are created automatically when you enter WikiWords. And TWiki shorthand gives you all the power of HTML with a simple coding system that takes no time to learn. It's all laid out below - refer back to this page in a pop-up window from the Edit screen. | ||||||||||||||||||
> > | Working in TWiki is as easy as typing in text. You don't need to know HTML, though you can use it if you prefer. Links to topics are created automatically when you enter WikiWords. And TWiki shorthand gives you all the power of HTML with a simple coding system that takes no time to learn. It's all laid out below. | ||||||||||||||||||
TWiki Editing Shorthand | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Paragraphs: Blank lines will create new paragraphs. | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | |||||||||||||||||||
1st paragraph
2nd paragraph | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
1st paragraph
2nd paragraph | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Headings: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | 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. Note: A Table of Content can be created automatically with the %TOC% variable, see TWikiVariables. Any heading text after !! is excluded from the TOC; for example, write ---+!! text if you do not want to list a header in the TOC.
| ||||||||||||||||||
> > | 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. | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Maguro | ||||||||||||||||||
> > | You can create a table of contents with the %TOC% variable. If you want to exclude a heading from the TOC, put !! after the ---+ .
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Bold Text: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Words get bold by enclosing them in * asterisks.
| ||||||||||||||||||
> > | Words get shown in bold by enclosing them in * asterisks.
| ||||||||||||||||||
Bold | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Bold | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Italic Text: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Words get italic by enclosing them in _ underscores.
| ||||||||||||||||||
> > | Words get shown in italic by enclosing them in _ underscores.
| ||||||||||||||||||
Italic | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Italic | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Bold Italic: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Words get _bold italic by enclosing them in _ double-underscores.
| ||||||||||||||||||
> > | Words get shown in bold italic by enclosing them in __ double-underscores.
| ||||||||||||||||||
Bold italic | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Bold italic | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Fixed Font: Words get shown in fixed font by enclosing them in = equal signs. | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | |||||||||||||||||||
Fixed font | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Fixed font
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Bold Fixed Font: Words get shown in bold fixed font by enclosing them in double equal signs. | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | |||||||||||||||||||
Bold fixed | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Bold fixed | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
This works, | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | _this not _
| ||||||||||||||||||
> > | _this does not _
| ||||||||||||||||||
This works, | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | _this not _ | ||||||||||||||||||
> > | _this does not _ | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
class CatAnimal? { void purr() { | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | <code here> | ||||||||||||||||||
> > |
| ||||||||||||||||||
} } | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | </verbatim>
| ||||||||||||||||||
> > | |||||||||||||||||||
class CatAnimal { void purr() { | |||||||||||||||||||
Line: 166 to 160 | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | |||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Definition List: Three spaces, a dollar sign, the term, a colon, a space, followed by the definition. | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | |||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Table: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Any number of lines of text. Each line is one row of the table consisting of one or more cells. Each cell starts and ends with a vertical bar '|'. Any spaces at the beginning of a line are ignored. Notes: • | *bold* | cells are displayed as table headers.• | center-spaced | cells are displayed center aligned.• | right-spaced | cells are displayed right aligned.• | 2 colspan || cells are displayed as multi-span columns (i.e., a cell with no text spans a column).• |^| cells with a caret indicate follow-up rows of multi-span rows (this functionality is provided by TablePlugin).• If a row contains a large amount of text, and you want it to be more readable while editing the table, split the row into multiple text lines by ending each line with a backslash character '\' .• Table cells wrap automatically as determined by the browser.
| ||||||||||||||||||
> > | 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.
![]() |^| multiple-span row functionality and additional rendering features
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
WikiWord Links: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | CapitalizedWordsStuckTogether (or WikiWords) will produce a link automatically. Note: In case you want to link to a topic in a different TWiki web write Otherweb.TopicName . (The link label is the the name of the web in case the is WebHome, else it is the topic name)
| ||||||||||||||||||
> > | CapitalizedWordsStuckTogether (or WikiWords) will produce a link automatically if preceded by whitespace or parenthesis. ![]() Otherweb.TopicName . ![]() It's generally a good idea to use the TWikiVariables %TWIKIWEB% and %MAINWEB% instead of TWiki and Main.
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | TWikiUsers | ||||||||||||||||||
> > | WebNotify
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > |
| ||||||||||||||||||
Forced Links: You can create a forced internal link by enclosing words in double square brackets. | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Note: Text within the brackets may contain optional spaces; the topic name is formed by capitalizing the initial letter and by removing the spaces; for example, [[text formatting FAQ]] links to topic TextFormattingFAQ. You can also refer to a different web and use anchors.
Note: To "escape" double square brackets that would otherwise be a correct link, prefix the leading left square brackets with an exclamation point, that is, begin with ![[....
| ||||||||||||||||||
> > | Text within the brackets may contain optional spaces; the topic name is formed by capitalizing the initial letter and by removing the spaces; for example, [[text formatting FAQ]] links to topic TextFormattingFAQ. You can also refer to a different web and use anchors.
![]() | ||||||||||||||||||
wiki syntax | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Main.TWiki users | ||||||||||||||||||
> > | Main.TWiki users | ||||||||||||||||||
escaped: [[wiki syntax]] | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
wiki syntax | |||||||||||||||||||
Line: 343 to 360 | |||||||||||||||||||
[[wiki syntax]]
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Specific Links: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Create a link where you can specify the link text and the link reference separately, using nested square brackets like [[reference][text]] . Internal link references (e.g. WikiSyntax) and external link references (e.g. http://TWiki.org/) are supported.
Note: The same Forced Links rules apply for internal link references. Note: For external link references, you can simply use a space instead of ][ to separate the link URL from the descriptive text.
Note: Anchor names can be added as well, like [[WebHome#MyAnchor][go home]] and [[http://gnu.org/#Action][GNU Action]] .
| ||||||||||||||||||
> > | You can create a link where you specify the link text and the URL separately using nested square brackets [[reference][text]] . Internal link references (e.g. WikiSyntax) and URLs (e.g. http://TWiki.org/) are both supported.
The rules described under Forced Links apply for internal link references.
![]()
| ||||||||||||||||||
GNU | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | XML
| ||||||||||||||||||
> > |
| ||||||||||||||||||
GNU | |||||||||||||||||||
Deleted: | |||||||||||||||||||
< < | XML | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | |||||||||||||||||||
Prevent a Link: Prevent a WikiWord from being linked by prepending it with an exclamation point. | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | |||||||||||||||||||
SunOS | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
SunOS
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
Disable Links: | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | You can disable automatic linking of WikiWords by surrounding text with <noautolink> and </noautolink> tags.
Note: Each tag must be on a line by itself. Note: This also works for TWiki tables, but only if you add a blank line between the end of the table and the closing </noautolink> tag (known issue of the TablePlugin).
| ||||||||||||||||||
> > | You can disable automatic linking of WikiWords by surrounding text with <noautolink> and </noautolink> tags.![]() | ||||||||||||||||||
<noautolink> RedHat & SuSE </noautolink> | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
RedHat &
SuSE
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Hi | ||||||||||||||||||
> > | Mail
| ||||||||||||||||||
Using HTML | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | You can use just about any HTML tag without a problem - however, there are a few usability and technical considerations to keep in mind.
HTML and TWiki Usability | ||||||||||||||||||
> > | You can use just about any HTML tag without a problem. You can add HTML if there is no TWiki equivalent, for example, write <strike>deleted text</strike> to get | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | ![]()
| ||||||||||||||||||
Added: | |||||||||||||||||||
> > | Recommendations when pasting HTML from other sources:
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | TWiki HTML Rendering | ||||||||||||||||||
> > | ![]() | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > | Script tags | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | TWiki and JavaScript
You can use JavaScript for your TWiki applications. Since TWiki rendering might interfere with JavaScript code you need to escape it with HTML comments and <script type="text/javascript"> <!-- Hide JavaScript and <pre> escape TWiki rendering ... put your JavaScript code here... // Stop hiding and stop </pre> escaping TWiki rendering --> </script> | ||||||||||||||||||
> > | You can use HTML <script> tags for your TWiki applications. However note that your TWiki administrator can disable <script> in topics, and may have chosen to do so for security considerations. TWiki markup and TWikiVariables are not expanded inside script tags. | ||||||||||||||||||
Hyperlinks | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Being able to create links without any formatting required is a core TWiki feature, made possible with WikiWords. New TWiki linking rules are a simple extension of the syntax that provide a new set of flexible options. | ||||||||||||||||||
> > | Being able to create links without any special formatting is a core TWiki feature, made possible with WikiWords and inline URLs. | ||||||||||||||||||
Internal Links | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > | |||||||||||||||||||
| |||||||||||||||||||
Line: 494 to 471 | |||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Line: 499 to 476 | |||||||||||||||||||
| |||||||||||||||||||
Deleted: | |||||||||||||||||||
< < | |||||||||||||||||||
TWiki Variables | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Variables are names that are enclosed in percent signs % that are expanded on the fly. | ||||||||||||||||||
> > | TWiki Variables are names that are enclosed in percent signs % that are expanded on the fly. | ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
TWikiPlugin Formatting Extensions | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Plugins provide additional text formatting capabilities and can extend the functionality of TWiki into many other areas. For example, the optional SpreadSheetPlugin lets you create a spreadsheet with the same basic notation used in TWiki tables.
Available Plugins are located in the Plugins web on TWiki.org. Currently enabled plugins on this TWiki installation, as listed by | ||||||||||||||||||
> > | Plugins can extend the functionality of TWiki into many other areas. There are a huge number of TWiki plugins available from the Plugins web on TWiki.org. | ||||||||||||||||||
Added: | |||||||||||||||||||
> > | Currently enabled plugins on this TWiki installation, as listed by %PLUGINDESCRIPTIONS% : | ||||||||||||||||||
Check on current Plugin status and settings for this site in TWikiPreferences. | |||||||||||||||||||
Line: 546 to 520 | |||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | -- TWiki:Main.MikeMannix - 02 Dec 2001 -- TWiki:Main.PeterThoeny - 01 Aug 2004 | ||||||||||||||||||
> > | |||||||||||||||||||