MvcCms Forum Forum Index
ForumCode Guide
Introduction
What is ForumCode?

Text Formatting
How to create bold, italic and underlined text
How to change the text colour or size
Can I combine formatting tags?

Quoting and outputting fixed-width text
Quoting text in replies
Outputting code or fixed width data

Generating lists
Creating an list

Creating Links
Linking to another site

Showing images in posts
Adding an image to a post

Other matters
Can I add my own tags?


Introduction
What is ForumCode?

Text Formatting
How to create bold, italic and underlined text
ForumCode includes tags to allow you to quickly change the basic style of your text. This is achieved in the following ways:
  • To make a piece of text bold enclose it in **, eg.

    *Hello*

    will become Hello
  • For underlining use + +, for example:

    +Good Morning+

    becomes Good Morning
  • To italicise text use _ _, eg.

    This is _Great!_

    would give This is Great!

Back to top
How to change the text colour or size

Not yet implemented

Back to top
Can I combine formatting tags?

Not yet implemented

Back to top

Quoting and outputting fixed-width text
Quoting text in replies

Not yet implemented

Back to top
Outputting code or fixed width data
If you want to output a piece of code or in fact anything that requires a fixed width with a Courier-type font.


Allows for text to be formatted as code for languages in which syntax highlighting is not supported.
Source Markup
// multi-line
{{
   public static void Main()
   {
     // code goes here
   }
}}

// single line
{{ single line of text }}
Rendered Markup
// multi-line
   public static void Main()
   {
     // code goes here
   }


// single line
single line of text


Back to top

Generating lists
Creating an Un-ordered list

Allows for the creation of bullted or numbered lists.
Source Markup
* Bulleted List 1
** Bulleted List 2
*** Bulleted List 3

# Numbered List 1
## Numbered List 1.1
### Numbered List 1.1.1
# Numbered List 2
## Numbered List 2.1

Rendered Markup
  • Bulleted List 1
    • Bulleted List 2
      • Bulleted List 3
  1. Numbered List 1
    1. Numbered List 1.1
      1. Numbered List 1.1.1
  2. Numbered List 2
    1. Numbered List 2.1

Back to top
 

Creating Links
Linking to another site
Source Markup
[url:http://wikiplex.codeplex.com]
[url:WikiPlex|http://wikiplex.codeplex.com]
[url:Email Someone|mailto:someone@someurl.com]
Rendered Markup
http://wikiplex.codeplex.com
WikiPlex
Email Someone

File Links

File links allow you to link to files that will prompt the user to download.
Source Markup
[file:http://wikiplex.codeplex.com/SourceControl/ListDownloadableCommits.aspx#DownloadLatest]
[file:Download Latest Source|http://wikiplex.codeplex.com/SourceControl/ListDownloadableCommits.aspx#DownloadLatest]

http://wikiplex.codeplex.com/SourceControl/ListDownloadableCommits.aspx#DownloadLatest
Download Latest Source

Anchors

Anchors are links that allow you to link to certain content via a hashtag.
Source Markup
// create an anchor
{anchor:anchorName}

// link to an anchor
[#anchorName] 


// create an anchor


// link to an anchor
anchorName

Back to top

Showing images in posts
Adding an image to a post

Images allow you to link to images hosted elsewhere.
Source Markup
[image:http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=WikiPlex&DownloadId=74720&Build=15321]
[image:WikiPlex Logo|http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=WikiPlex&DownloadId=74720&Build=15321]

Rendered Markup

WikiPlex Logo

Hyperlinking Images

Images can be hyperlinked using the format below.
Source Markup
[image:<Friendly Name>|<image name or link to the image>|<URL pointed to by image>]

For example:

[image:My Image|http://www.domain.com/myimage.jpg|http://www.domain.com]
Rendered Markup
WikiPlex

Wrapped Content

Images also allow you to wrap content around the left or right side of it.
Source Markup
<[image:http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=WikiPlex&DownloadId=74720&Build=15321] This content will flow around the image on the right hand side.
>[image:http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=WikiPlex&DownloadId=74720&Build=15321] This content will flow around the image on the left hand side.

Rendered Markup
This content will flow around the image on the right hand side.


Back to top