TextFormattingRules

HomePage | RecentChanges | EditorIndex | TextEditorFamilies | Preferences

For examples of how these rules are used, see TextFormattingExamples.

To experiment with the rules, please try editing the WikiWikiSandbox. Anything on the Sandbox page can be changed at will. Please do not experiment with this page.

Paragraphs


Horizontal Lines

Four dashes at the left margin makes a horizontal rule:
----


Lists

The character that occurs in column #1 determines the appearance. Lists are created by using an asterisk (*), hash mark (#), or semicolon (;) in the first column. Adding multiple symbols increases the indent level.

   * one asterisk for bullets at the first level
   ** two asterisks for the second level
   *** three asterisks for the third level
   ### Use pound sign (#) for numbered lists
   ### Repeat at same level to increase numbering
   ##  Change the number of pound signs to control indent level
   * And this will produce:

    ; Definition Lists : Begin with a semicolon
    ; : Second item

    ;; Indent control : Use two semicolons, etc.
    ;; : Second item

Definition Lists
Begin with a colon
Second item

Indent control
Use two semicolons, etc.
Second item


Fonts

	Start a line with a space or TAB to use a monospaced font.
 A space or TAB on column #1 wraps the paragraph in HTML <PRE> tags, forcing things to mostly literal.
   This line is indented by three spaces.
This is not.

You can generate vertical whitespace by using multiple newlines after a monospaced line, but doing so to create more than one blank line is discouraged.


Indent Paragraphs for quotations

If a line begins with a colon, the paragraph will be indented. Indent paragraphs by putting the colon in the first column, followed by a space, followed by the rest of the paragraph. Indented paragraphs are often used for quotations or emphasis.

Sample:

 : This has the colon appearing in column #2. It's not indented.
This has the colon appearing in column #1. It is indented.
This has a capital T appearing in column #1. It isn't indented.

Emphasis

Example:

  This is ''emphasized'', this is '''strong''', this is '''''both''''', and this is ''emphasized'' again.

This is emphasized, this is strong, this is both, and this is emphasized again.


Links to Wiki pages

      WikiName''''''s points to "WikiName" instead of "WikiNames"

      <nowiki>MakingLinks</nowiki> keeps this word from being turned into a Wiki link

    [[VI]] 

As a general rule, don't create Wiki pages unless there is a good reason to do so. The trick of using 6-quotes to prevent Wikifying pages is a hack, and it doesn't work if you have words WithThreeLetters? (like this example). It is only used to allow terms to be identified (such as PhD) which must have a camelcase spelling. Avoid creating pages for no reason at all.


Links to external web content

There are four ways that you can link to external web content.

1. Display images here that are stored elsewhere

URLs ending with .gif, .jpg, .jpeg or .png are displayed directly as images on the page. E.g., (URLs ending with .jpe are not supported) Note: Inline display of images will not work if your image is obtained from a site which uses form query parameters (like foo.com/image?editor=tde&size=200x200). The only workaround is to add an extra "dummy" parameter ending with .gif, .jpg, .jpeg or .png at the end.

2. Type a web address and have it display as a web address.

To make a hyperlink to a web site, such as www.google.com, precede it with "http:" and the double slash "//" like so: http://www.google.com. The same applies to other web protocols: "ftp:", "gopher:", "mailto:", or "news:", all followed by 2 slashes (//). If the URI contains an apostrophe, use %27 instead of the apostrophe.

3. Type a web address and have it displayed as [bracketed words]

So that Wiki users always know when they're being taken to an external page, this Wiki either displays them literally (like http://www.google.com) or else it links to words in [square brackets]. Make it happen like so:

      Link to words in [http://www.slashdot.org square brackets]

4. Link ISBN numbers to Amazon.com

If you refer to a book that you want to recommend, please include its ISBN (International Standard Book Number). This links directly to [Barnes and Noble], [Amazon.com], and [pricescan.com]. If someone clicks on the ISBN and purchases the book, we will receive a small amount for providing the referral. (Right now the queries to Barnes and Noble aren't working; we'll try to fix that.)


Wiki Markup isn't HTML


Notes


None of these work here:


CategoryWiki? CategoryWikiEditing?
HomePage | RecentChanges | EditorIndex | TextEditorFamilies | Preferences
Edit text of this page | View other revisions
Last edited October 9, 2014 1:08 pm (diff)
Search: