----:: Major Heading -- four dashes, two colons, and a space
----: Minor Heading -- four dashes, one colon, and a space
Swiki uses equal signs as prefixes, no space before the heading text -- actually this is not working in Swiki -- tried with and without spaces, now without
=Top level (one equal sign)
==Second level
===Third level
====Fourth level
=====Fifth level (five equal signs)
======Sixth level (six equal signs)
YAGNI -- All caps
YAGNI -- All caps, enclosed in single square brackets
YAGNI -- All caps, enclosed in double square brackets
*This Is Not Valid In The Original Wiki* -- Separated by spaces, enclosed in asterisks, valid in Swiki
ThisIsIntentionallyNotValidInTheOriginalWiki -- Invalidated by 6 single quotes between every pair of words.
Remote references are created by inserting a number in square brackets, they are not automatically numbered. To make these links work, you must go to
EditLinks and fill in
URLs.
If a remote reference ends in .gif, the image is inlined.
Here is a .gif URL for testing: http://c2.com/sig/wiki.gif (This link disabled by 6 single quotes after the http.)
Simply typing a link (starting with http: and ending in .gif) also works.
Will pictures overlap? In
WardsWiki, these 4 pictures form two rows of two pictures, separated by a horizontal blank line.
ISBN Links (to a bookseller) -- several variations
ISBN: 0-13-748310-4 -- ISBN followed by optional colon, followed by 10 digits with optional hyphens
ISBN 0-13-748310-4 -- ISBN, no colon, followed by 10 digits with optional hyphens, entire string surrounded by square brackets
0-13-748310-X -- ISBN, with colon, entire string surrounded by square brackets, followed by 10 digits with optional hyphens, last digit an X
"X" is the "digit" ten (the roman numeral, actually), which is a possible value for the checksum (last) digit.
Twiki formatting (just a few samples)
*This, embedded between asterisks, should be bold*
_This, embedded between single "underbars" should be italic_
This, embedded between double "underbars" should be bold and italic
This line, preceded by a space, appears normal
<H1>A heading embedded between HTML H1 tags</H1>
<H2>A heading embedded between HTML H2 tags</H2>
<H3>A heading embedded between HTML H3 tags</H3>
<H4>A heading embedded between HTML H4 tags</H4>
<H5>A heading embedded between HTML H5 tags</H5>
<H6>A heading embedded between HTML H6 tags</H6>
Trying angle brackets and escape notation:
<> -- arrows out
<enclosing text> -- enclosing text -- text is hidden in
TWiki
< > -- escape (ampersand) lt and gt
I think there is (or will be) another way to mark up headings -- this might require that the
TocPlugin be installed. (The following does not work, either because it hasn't been implemented (yet), the
TocPlugin is not installed, or because I haven't stumbled across exactly the right syntax.)
*You type* *You see* | *Note* | | =\tab+++ title= | <h3>title</h3> | (we count "+") | | =\tab\tab+ title= | <h2>title</h2> | (we count tabs) | | =\tab*H4: title= | <h4>title</h4> | |
+A line preceded by one "+"
\ +A line preceded by \tab+
=\ \ + A line preceded by
+A line preceded by two tabs and a plus sign
+ Another line preceded by two tabs, a space, and a plus sign
Just showing how
TWiki displayed something that looked like headings, but by using preformatted HTML.
<pre>
<nop> + Heading 1
<nop> + Heading 2
<nop> + Heading 3
<nop> ... and so on
</pre>
Note: I've noticed some inconsistency with Swiki in handling this page, maybe because of the size? Earlier, headings did not work properly, but bulleted lists did. (The numbered and nested lists were added later.) Now headings are working but lists are not. (And I won't be surprised if, when I save this page either everything works, or something different breaks -- no headings still work, lists do not, but I wonder about the next save?)
Lists
Bulleted lists start with a dash, with no space before the text.
-Red
-Blue
-Green
Numbered lists start each line with '#', with no space before the text.
#Blue
#Green
#Red
Lists can be nested. Thus, a line starting with '#-' is an element of a bulleted list that is part of an ordered list.
Now some nesting:
#Blue
#-BBG
-#BBBG
#Green
#Red
+ Swiki has an append here area, created by starting a line with a plus sign.
"A text area will be inserted into the page that allows users to add contents to the page without having to edit the page. Users can add text even when the page is locked and when they are not logged in."
Special formatting rules for&, <, >, '*', @:
There are five characters (&, <, >, *,
.png)
which to do not display correctly unless you type aliases for them as follows:
Instead of & type: &;
Instead of < type: <;
Instead of > type: >;
Instead of * type: ☆;
Instead of @ type: &at;.
To preserve character spacing, begin each line with '>'.
_
Using b and i in angle brackets:
<b>Bold</b>
<i>Italic</i>
Lists are marked up using multiple leading asterisks
* Item
** Item
*** Item
Numbered lists are marked up using multiple leading pound signs
#
# Item
# Item
"Raw" HTML is disabled by default
ToDo: Continue to add formatting rules for other wikis, as identified.
Tables
|table | for | kicks | ouch |
or even a table...
Header |
Let's | just | try | a |
table | for | kicks | ouch |
A wide table (works on
SwikiFarm)
<b>*Engines*</b>*Prop1*</b>|<b>Prop2</b>|<b>Prop3</b>| |
|*E1*|*y*|y|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|n|
|E3|y|n|n|
A wide table for
MoinMoin?
*Engines*</b> | *Prop1*</b> | Prop2</b> | Prop3</b> |
*E1* | *y* | y | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n | n |
E2 | n | *?* | n |
E3 | y | n | n |
Well, how about 抑? and other umlaut characters.
double single-quoted text
verrry funny pictures for an old chinese; no more meaning like "
FA3B27E5" or other Hex-Code
So can I use Japanese characters (EUC) or what? Well, here it goes anyway:
ㄲㅓ―폽居몄ㅲ밋ㅁㅻㅯㅏㄴ、댔ㅇㄴㅝㄸ。
Let's see it then -
SpareMissile
wanna test it too. hihi, cool...
댕소봤,i am rose
I just tried adding some characters using the <alt>nnn approach (on
IE5):
(For engines which hide HTML tags, I enclosed the "alt" within angle brackets as a prefix to "nnn" (or "real" digits).)
<alt>159: ƒ
I wonder if that would give me a way to either force white space (sounds likely -- insert <alt>255 on multiple lines?) or force a line break without causing a blank line in the output (doesn't sound as likely)?
Some lines with <alt>255 separated by totally blank lines:
_
_
_
_
That seemed dumb! Why not try lines with a single space separated by totally blank lines? Why not -- because it doesn't work in
WardsWiki:
I could consider adding an ASCII table here:
See also (just for interest):
Aside: What's the difference (in
IE5 or similar) betweeen, for example:
<alt>159 with numlock off: ƒ
and
<alt>0159 with numlock on: Ÿ
Well, there's an answer, but not quite what I was looking for -- the <alt>159 syntax represents the ASCII codes from 0 to 255 (decimal). What does the <alt>0159 syntax represent?