Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Search

History

12/1/2005 11:37:30 AM
TYBURN-spnetjs
11/25/2005 4:57:01 PM
TYBURN-spnetjs
11/25/2005 4:56:28 PM
TYBURN-spnetjs
List all versions List all versions
Formatting Rules
.

FireFox

Basic Formatting

Simple Text Formatting

Underscores (_italics_) or two ticks (''italics'') for italics

Asterisk (*bold*) or three ticks ('''bold''') for bold

Bang (!) at the start of a line for H1, Bang Bang (!!) at the start of a line for H2, Bang Bang Bang (!!!) for H3, etc.

To prevent PascalCase words from being linked, start and end the word with two double-quotes. For example, PascalCase non-linked is defined using:

 ""PascalCase""

Links

Any PascalCased word becomes a link.

Surrounding a word with square brackets word will let you do non-[pascalcased] words. Generally this is considered "odd", so you should try to use PascalCased words where possible.

For example thisIsBadForm

Any URL becomes a link (http://www.blizzard.com).

You can also make arbitrary links using the Textism formatting below.

As defined above:

 "arbitrary links":http://www.microsoft.com

Or picture links like this .

By using this syntax:

 "http://www.flexwiki.com/images/go.gif":http://www.flexwiki.com

Anchors/Bookmarks (available in build 1.8.0.1661 or later)

Any WikiPageProperty or HiddenWikiPageProperty (see below) becomes an anchor (or bookmark) on that page. You can reference that anchor by using the <TopicName>#<Anchor> form, e.g. FormattingRules#Properties

Lines

Four dashes (- - - -) at the begining of a line gives you an HR

Lists

Starting a line with a tab (or 8 spaces) followed by a star:

  • item 1
    • sub item 1
    • sub item 1
  • item 2
  • link test

Ordered lists, a line with a tab (or 8 spaces) followed by a 1.:

  1. item 1
    1. sub item 1
    2. sub item 2
  2. item 2

NOTE You can't nest ordered and unordered lists for now.

Emoticons

All of usual emoticons work (see Instant Messenger for the full inventory).

(y) (n) (b) (d) (x) (z) (6) :-[ (}) ({) :-) ;) :(
:| :'( :-$ (H) :-@ (A) (L) (U) (k) (g) (f) (w) (p)
(~) (T) (t) (@) (c) (i) (S) (*) (8) (E) (^) (O) (M)

Tables

A line that starts and ends with || is a table row. Cells are divided with ||.

For example:

 ||Containers||(n)||
 ||MIL||(y)||
 ||Managed Code||(b)||
 ||After work||(d)||
Containers
MIL
Managed Code
After work
  • See TableFormattingRules for information on advanced table formatting (justification, highlighting, etc.)

Text Size and Colors (available in builds starting from 1.8.1614)

Modeled after PmWiki, more info is here )

  • Syntax:
 Setting text color: %color% or %#1122AA% (exactly 6 hex chars)
 Setting text size: %big% or %small%
 Combo: %color big% or %small color%
 End of colored/resized text: %% or end of line
  • Examples:
 Normal %red% red text %% back to normal

Normal red text back to normal

 %red% red text %blue% blue text
 back to normal

red text blue text

back to normal

 %big% big text %small% small text %% back to normal

big text small text back to normal

 %big red%Big red text %blue small% Small blue text

Big red text Small blue text

 %big big%Very big text %% normal again

Very big text normal again

Advanced Formatting

Preformatting or Code

Any line starting with whitespace becomes PRE

 Public Class MyClass
    Public Sub New()
        DoCoolStuff()
        If IsReallyCool Then
            DoSomethingEvenMoreCool()
        End If
    End Sub
 End Class
 public class CSharpExample {
    CSharpExample() {
       int n = 5;
       object[] test = new object[n];
    }
 }

Text inside of a PRE block doesn't get hyperlinks automatically added to it.

Non-indented preformatted text (available in builds starting from 1.8.0.1614)

It is difficult to cut and paste source files into Wiki and then insert 1 space before every line. PRE block solve this problem. There are 2 usage scenarios:

  • Simple Syntax:
{@
your text goes
here and it does not have to start with space or tab
}@

Produces:

your text goes
here and it does not have to start with space or tab
  • Syntax with key (if for some reason your text contains }@ at the beginning of a line)
{@UniqKey
any text
here including
}@ at line beginning
still inside pre
}@WrongKey
still inside pre
}@UniqKey

Produces:

any text
here including
}@ at line beginning
still inside pre
}@WrongKey
still inside pre

Images

QuestionCan we use UNC paths? \\machineName\public\foo.jpg ?
AnswerTry file:\\machineName\public\foo.jpg -SimonSchmid
AnswerI was able to get the file protocol to work, you just have the wrong syntax: This of course requires that the user have access to that machine, so it won't work for internet stuff, but for intranet stuff it should be fine. (Note that I changed the link to a .txt file, to keep the wiki from trying to show the image instead of just linking to the file.) -Worlebird
QuestionCan we put an image within a table so it would appear inside it, but not the url? -Sean

To put in an image, just link to an external URL that ends in jpeg/gif/jpg:

 http://us.news2.yimg.com/us.yimg.com/p/afp/20050113/
 capt.sge.bjr30.130105214733.photo00.photo.default-269x380.jpg

External Wiki References

QuestionThis appears to be outdated with the most recent version, at least.
AnswerThis is working now with 1.8.0.1677

To reference a topic on an external wiki (that is a topic not from this website), you add (anywhere before the link)

 @siteName=http://myserver/mywiki/default.aspx/$$$

Then, anywhere after that you can use

 TopicName@siteName

The casing of "siteName" is arbitrary, there are no restrictions. Also, you can create a topic called ExternalWikis which will be loaded for every topic, allowing for a "header file" of common external wikis.

The $$$ in the definition URL will be replaced with the topic name provided.

Wiki Topic Include

To include a wiki topic in a topic see WikiInclude. Useful for linearising a Wiki or including frequently used content.

Textile formatting

http://www.textism.com/tools/textile/index.html

 text: _emphasis_
 text: *strong* 
 text: ??citation?? 
 text: -deleted text- 
 text: +inserted text+ 
 text: ^superscript^ 
 text: ~subscript~ 
 text: @code@ 
 text: "this is a link (optional tooltip)":http://www.karmabanque.com

Which renders:

Delete

To delete any page, just edit the page to contain only the word "delete".

Undelete

To get back any page that has been deleted, navigate to the page (it will look like a new page at this point) and just save the page. You will then see the version history pane (which includes versions before the page was "deleted"). Restore the one you want and breathe a sigh of relief.

Properties

See also WikiPageProperty and ExamplePropertyPage

Escaping

If you want to prevent TopicNames from being linked, you can use the double-quote escape: surround the text with a pair of double-quotes on each side and you'll prevent the formatter from turning these into links. This also works for most other run-level formatting (e.g., bold, italic, URL linking, etc.). For example, NormallyThisWouldBeLinked and '''this would be bold'''. You get that with:

 ""NormallyThisWouldBeLinked"" and ""'''this would be bold'''""
Question

Escaping topic names inside formatted text seems to nullify the formatting. For example:

''This TopicName is escaped, and this sentence is supposed to be italicized''

Institute of Psychiatry wiki

How to create and edit pages

Recent Topics

FormattingRules