Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/TextFormattingRules?rev1=18&rev2=17
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 23:37:55 2014
Кодировка:
%TOPICTITLE% (17 vs. 18) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r18  >  r17  ...
TextFormattingRules 18 - 2001-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:

Revision 18r18 - 2001-06-28 - 22:15:10 - PeterThoeny
Revision 17r17 - 2001-04-05 - 07:31:04 - PeterThoeny
This site is powered by the TWiki collaboration platformCopyright © 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
Syndicate this site RSSATOM