Difference: TextFormattingRules (17 vs. 18)

Revision 182001-06-28 - PeterThoeny

Line: 1 to 1
 It is easy to collaborate; just type your text. You don't need to know HTML at all, though you can use it if you prefer. Links to topics will be created automatically, as long as you follow these simple Text Formatting Rules. TextFormattingFAQ has answers to frequently asked questions about text formatting.
Changed:
<
<

LINKS

>
>
On this page:

Links

  The Collaborative Work Area is a bunch of related links that are editable through your web browser.
Changed:
<
<
The TWiki web has the following types of internal links:
>
>

TWiki Internal Links

 
  • GoodStyle is a WikiWord that links to the GoodStyle topic located in the current TWiki web.
  • NotExistingYet is a topic waiting to be written. You could create that topic by clicking on the question mark. (Do not create that topic; you would wreck this example!)
Changed:
<
<

External links:

>
>

External Links

 
  • http://..., https://..., ftp://... and mailto:...@... are linked automatically.
  • Email addresses like name@domain.com are linked automatically.
Changed:
<
<

EDITING

>
>

Editing

 
Line: 52 to 54
 

Changed:
<
<

Sushi

>
>
---++ Sushi
 
Changed:
<
<

Maguro

>
>
---+++ Maguro
 
Changed:
<
<

Sushi

>
>

Sushi

 
Changed:
<
<

Maguro

>
>

Maguro

 
Line: 373 to 375
 
Changed:
<
<

HTML

>
>

Using HTML

  Most HTML tags will work, but it's almost always preferable not to use HTML, so that the markup remains easy for everyone to edit.
Changed:
<
<
>
>
 
Changed:
<
<

WIKI VARIABLES

>
>

TWiki Variables

  Variables are names that are enclosed in percent signs; they get expanded on the fly.
Added:
>
>
  • %TOC% : The table of content, is based on headings in a topic.
 
  • %WEB% : The current web, is TWiki .
  • %TOPIC% : The current topic name, is TextFormattingRules .
  • %ATTACHURL% : The attachment URL of the current topic. Example usage: If you attach a file to a topic you can refer to it as %ATTACHURL%/image.gif to show the URL of the file or the image in your text.
  • %INCLUDE{"SomeTopic"}% : Server side include, includes another topic. The current TWiki web is the default web. Example: %INCLUDE{"TWiki.TWikiWebsTable"}%
  • There are many more variables, see TWikiVariables.
Added:
>
>

"Gotchas" when Editing Text

The formatting rules are fairly simple to use and fast to type. However, there are some things to watch out for:

  • Q: Text enclosed in angle brackets like <filename> is not displayed. How can I show it as it is?
    • A: The '<' and '>' characters have a special meaning in HTML, they define HTML tags. You need to escape them, so write '&lt;' instead of '<', and '&gt;' instead of '>'.
      Example: Type 'prog &lt;filename&gt;' to get 'prog <filename>'.

  • Q: Why is the '&' character sometimes not displayed?
    • A: The '&' character has a special meaning in HTML, it starts a so called character entity, i.e. '&copy;' is the © copyright character. You need to escape '&' to see it as it is, so write '&amp;' instead of '&'.
      Example: Type 'This &amp; that' to get 'This & that'.

 
Changed:
<
<

TWiki PLUGINS

>
>

TWiki Plugins

  TWiki Plugins offer additional text formatting rules. Plugins currently installed are:
 
Copyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TextFormattingRules.