| Wiki Text Formatting Test Page | UserPreferences |
| MoinMoin Wiki | LividWiki | RecentChanges | TitleIndex | WordIndex | Help |
This page contains sample marked up text to make a quick visual determination as to which
TextFormattingRules work for a given wiki. To use the page, copy the text from the edit window, and paste it in the wiki under test. Then read it.
And, the next logical thing to do is put a page like this on a public wiki running each
WikiEngine, and link to it from the appropriate
WikiReview page.
The next line (4 dashes) should show up as a horizontal rule. In a few wikis, the width of the rule is controlled by the number of dashes. That will be tested in a later section of this test page.
This first section will test the
WikiOriginalTextFormattingRules.
If a wiki properly interprets the
WikiOriginalTextFormattingRules, the text will appear as described here.
This should appear as plain variable width text, not bold or italic.
The original
WardsWiki text formatting rules make no provision for headings. They can be simulated by applying emphasis. See the next several lines.
'This text, enclosed within in 1 set of single quotes, should appear as normal text surrounded by 1 set of single quotes.'
This text, enclosed within in 2 sets of single quotes, should appear in italics.
This text, enclosed within in 3 sets of single quotes, should appear in bold face type.
'This text, enclosed within in 4 sets of single quotes, should appear in bold face type surrounded by 1 set of single quotes.'
This text, enclosed within in 5 sets of single quotes, should appear in bold face italics.
This text, enclosed within in 6 sets of single quotes, should appear as normal text.
'This text, enclosed within in 1 set of single quotes and preceded by one or more spaces, should appear as monospaced text surrounded by 1 set of single quotes.'
This text, enclosed within in 2 sets of single quotes and preceded by one or more spaces, should appear in monospaced italics.
This text, enclosed within in 3 sets of single quotes and preceded by one or more spaces, should appear in monospaced bold face type.
'This text, enclosed within in 4 sets of single quotes and preceded by one or more spaces, should appear in monospaced bold face type surrounded by 1 set of single quotes.'
This text, enclosed within in 5 sets of single quotes and preceded by one or more spaces, should appear in monospaced bold face italics.
This text, enclosed within in 6 sets of single quotes and preceded by one or more spaces, should appear as monospaced normal text.
This line, prefixed with one or more spaces, should appear as monospaced text.
In this sentence, bold should appear as bold, and italic should appear as italic.
The next phrase, even though enclosed in triple quotes, will not display in bold because I've broken the phrase across a line boundary by inserting a <return>.
If I don't break the phrase by inserting a <return>, the bold portion can start and end on different lines, as this does.
Note that the logic seems to be easily confused. In the next paragraph I combine the two sentences (with no other changes). Notice the results. (The portion between the "innermost" set of triple quotes, and nothing else, is bold.)
The next phrase, even though enclosed in triple quotes, will not display in bold because I've broken the phrase across a line boundary by inserting a <return>. If I don't break the phrase by inserting a <return>, the bold portion can start and end on different lines, as this does.
I don't know if
WardCunningham considers this the desired behavior.
This is a multilevel bulleted list:
Aside: I wonder if any wikis provide multilevel numbering -- I know that
MicrosoftWord, even back to the Dos 3.0 version, can number an outline with multiple digits, in "legal" or "outline" style numbering. I forget which is which -- one is like 2.1.2.4, the other is like II.A.3.c., and I think there is another one that includes ii.
Definition Lists:
Wiki: A very strange wonderland.
Wiki: A very strange wonderland.
Indented Paragraphs (For quotations)
Weighted horizontal lines.
The next 10 double spaced lines are a succession of lines with an increasing number of dashes on each line, in other words, the first line is one dash, the second is two, ... until the tenth is 10 dashes.
In at least one wiki (which?), the weight (thickness) of the lines increases based on the number of dashes (starting at 4 dashes).
-
--
---
(the following line has 80 dashes)
End of line weight test.
Headings
As stated earlier, the original
WardsWiki does not handle headings except by a workaround using emphasis. Some other wikis do.
Some use a prefix of exclamation points, others use other methods. As I find those methods, I will expand this section accordingly.
Here is a test of headings using "!"
This works for:
!!Second level
!!!Third level
!!!!Fourth level
!!!!!Fifth level
Here is a test of headings enclosed in equal signs (=), one for the top level, one more for each lower level. Whitespace is not allowed outside of the equals signs, while whitespace is required on the inside (separating the header text and the equals signs).
This works for:
Some use a character sequence like <tab>: something <finish later>
This area will test WikiName validity.
THisIsNotValidInTheOriginalWiki -- Adjacent caps
This8IsNotValidInTheOriginalWiki -- Numbers
YAGNI -- All caps
This8isNotValidInTheOriginalWiki --
T8HisNotValidInTheOriginalWiki --
[This Is Not Valid In The Original Wiki] -- Separated by spaces, enclosed in square brackets.
SomePartOfThisIsValidInTheOriginalWiki -- Attempted to invalidate putting 6 single quotes between the first pair of words.
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
[1]
[2]
If a remote reference ends in .gif, the image is inlined (?) -- need to find a .gif online, preferably at
[3]
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
[ISBN: 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" eleven, which is a possible value for the checksum (last) digit.
ToDo: Continue to add formatting rules for other wikis, as identified. Find a .gif to test an inline image. You might have missed that there is an image (
| Let's | just | try | a |
|table | for | kicks | ouch |
or even a table...
Second level
Third level
Fourth level
Fifth level
EditLinks and fill in URLs.
WardsWiki to refer to. Here is a URL with a .gif to fill in to test this:
0137483104 -- ISBN followed by colon, followed by 10 digits (
InterWiki style)
) on every wiki page. ;)
| Header | |||
| Let's | just | try | a |
| table | for | kicks | ouch |
--
RandyKramer
MoinMoin 1.108, Copyright © 2000-2001 by Jürgen Hermann
config = 0.000 total = 0.420 imports = 0.100 send_page = 0.320