Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/TextFormattingRules?rev1=46;rev2=42;skin=kubrick.nat%2Cnat%2C%20pattern;sortcol=0;table=1;up=0
Дата изменения: Unknown
Дата индексирования: Mon Mar 3 01:08:09 2014
Кодировка:
%TOPICTITLE% (42 vs. 46) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r46  >  r45  >  r44  >  r43  >  r42  ...
TextFormattingRules 46 - 2004-07-24 - PeterThoeny
Line: 1 to 1
 

TWiki Text Formatting

Line: 307 to 307
 
WebNotify

Changed:
<
<
ReadmeFirst
>
>
TWikiUsers
 
WebNotify
Changed:
<
<
ReadmeFirst
>
>
TWikiUsers
 

TextFormattingRules 45 - 2004-07-11 - PeterThoeny
Line: 1 to 1
 

TWiki Text Formatting

Line: 452 to 452
 

HTML and TWiki Usability

Changed:
<
<
  • On collaboration pages, it's preferable NOT to use HTML, and to use TWiki shorthand instead - this keeps the text uncluttered and easy to edit.
  • ALERT! NOTE: TWiki is designed to work with a wide range of browsers and computer platforms, holding to HTML 3.2 compatibility in the standard installation - adding raw HTML, particularly browser-specific tags (or any other mark-up that doesn't degrade well) will reduce compatibility.
>
>
  • TIP TIP: On collaboration pages, it's preferable NOT to use HTML, and to use TWiki shorthand instead - this keeps the text uncluttered and easy to edit.
  • ALERT! NOTE: TWiki is designed to work with a wide range of browsers and computer platforms, holding to HTML 4.0 and XHTML 1.0 compatibility in the standard installation - adding raw HTML, particularly browser-specific tags (or any other mark-up that doesn't degrade well) will reduce compatibility.
  • Recommondations when using HTML:
    • Use XHTML 1.0 Transitional syntax
    • Do not span a tag over more then one line
    • Remove all empty lines. TWiki inserts <p /> paragraph tags on empty lines, which causes problems if done between tags that do not allow paragraph tags, like for example between table tags.
 

TWiki HTML Rendering


TextFormattingRules 44 - 2004-04-25 - PeterThoeny
Line: 1 to 1
 

TWiki Text Formatting

Line: 213 to 213
 
Ordered List:
Changed:
<
<
Three spaces, a number, and another space.
>
>
Three spaces, a number, a dot, and another space. Several types are available besides a number:
Type
<-- -->
Sorted ascending
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...
 

Changed:
<
<
  1. Sushi
  2. Dim Sum
>
>
  1. Sushi
  2. Dim Sum

  1. Sushi
  2. Dim Sum

  1. Sushi
  2. Dim Sum
 
Changed:
<
<
  1. Sushi
  2. Dim Sum
>
>
  1. Sushi
  2. Dim Sum

  1. Sushi
  2. Dim Sum

  1. Sushi
  2. Dim Sum
 
Line: 310 to 329
 wiki syntax

Main.TWiki users

Added:
>
>
escaped: [[wiki syntax]]
 
wiki syntax

Main.TWiki users

Added:
>
>
escaped: [[wiki syntax]]
 
Line: 440 to 465
 

TWiki and JavaScript

Changed:
<
<
You can use JavaScript for your TWiki applications. Sice TWiki rendering might interfere with JavaScript code you need to escape it with HTML comments and <pre> tags:
>
>
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 <pre> tags:
 
<script language="JavaScript">
<!-- Hide JavaScript and <pre> escape TWiki rendering
Line: 517 to 542
 
    • 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'.

-- TWiki:Main.MikeMannix - 02 Dec 2001

Changed:
<
<
-- TWiki:Main.PeterThoeny - 29 Mar 2004
>
>
-- TWiki:Main.PeterThoeny - 25 Apr 2004
 

TextFormattingRules 43 - 2004-03-30 - PeterThoeny
Line: 1 to 1
 

TWiki Text Formatting

Line: 183 to 183
 
List Item:
Changed:
<
<
Three spaces and an asterisk.
>
>
Three spaces, an asterisk, and another space.
 

Line: 197 to 197
 
Nested List Item:
Changed:
<
<
Six, nine, ... spaces and an asterisk.
>
>
Six, nine, ... spaces, an asterisk, and another space.
 

Line: 213 to 213
 
Ordered List:
Changed:
<
<
Three spaces and a number.
>
>
Three spaces, a number, and another space.
 

Line: 251 to 251
  |   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).
Changed:
<
<
|^| cells with a caret indicate follow-up rows of multi-span rows.
>
>
|^| 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.
Line: 303 to 303
  Forced Links:
You can create a forced internal link by enclosing words in double square brackets.
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.
Changed:
<
<

Note: To "escape" double square brackets that would otherwise be a correct link, use <nop> between the leading left square brackets, that is, begin with [<nop>[....
>
>

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 ![[....
 

Line: 368 to 368
 
Prevent a Link:
Changed:
<
<
Prevent a WikiWord from being linked by prepending it with the <nop> tag.
>
>
Prevent a WikiWord from being linked by prepending it with an exclamation point.
 

Changed:
<
<
<nop>SunOS
>
>
SunOS
 
Changed:
<
<
SunOS
>
>
SunOS
 
Line: 438 to 438
 
    • This feature allows you to enter an unclosed angle bracket - as a greater than or less than symbol - and have it automatically rendered as if you had entered its HTML character, &lt;, ex: a < b
    • TIP If you're pasting in preformatted HTML text and notice problems, check the file in a text processor with no text wrap. Also, save without hard line breaks on text wrap, in your HTML editing program.
Added:
>
>

TWiki and JavaScript

You can use JavaScript for your TWiki applications. Sice TWiki rendering might interfere with JavaScript code you need to escape it with HTML comments and <pre> tags:

<script language="JavaScript">
<!-- Hide JavaScript and <pre> escape TWiki rendering
... put your JavaScript code here...
// Stop hiding and stop </pre> escaping TWiki rendering -->
</script>
 

Hyperlinks

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.

Line: 482 to 493
 
Changed:
<
<
  • To "escape" a percent sign that would otherwise be interpreted as a variable, add <nop> after the first percent sign. Write: %<nop>SOMEVARIABLE% to get: %SOMEVARIABLE%.
>
>
  • To "escape" a variable, prefix it with an exclamation point. Write: !%SOMEVARIABLE% to get: %SOMEVARIABLE%.
 

TWikiPlugin Formatting Extensions

Line: 506 to 517
 
    • 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'.

-- TWiki:Main.MikeMannix - 02 Dec 2001

Changed:
<
<
-- TWiki:Main.PeterThoeny - 16 Mar 2004
>
>
-- TWiki:Main.PeterThoeny - 29 Mar 2004

Revision 46r46 - 2004-07-24 - 08:21:33 - PeterThoeny
Revision 45r45 - 2004-07-11 - 07:46:26 - PeterThoeny
Revision 44r44 - 2004-04-25 - 06:29:37 - PeterThoeny
Revision 43r43 - 2004-03-30 - 05:39:47 - PeterThoeny
Revision 42r42 - 2004-03-17 - 07:03:50 - 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