Does the 2010 SharePoint wiki offer improved support for lightweight markup language? If so, where can I find the documentation?
For example, is there markup for bold text - external links - images ?
I'm not aware of changes to the wiki "language" used in SharePoint 2010.
The user interface has certainly improved. For example typing the [[
characters will present a drop-down menu of available items to choose from (see this post by Michal Pisarek).
If there are certain language features you are looking for, please update your post with more details.
[[
characters. I tried all possible wiki combinations and they are not available at SP wiki pages. So, markup is created mostly through the Ribbon GUI and is stored as html internally. I added description for the Christophe examples - on how to do it using GUI, but if the question is only about wiki "language", your answer is correct, so +1.
Commented
May 2, 2011 at 10:14
Actually, almost all the SharePoint wiki markup is provided through the GUI (on the ribbon). So, there is no special SharePoint wiki syntax, except [[links]] syntax.
where can I find the documentation?
When you create standard "Team Site", where is a page with tips on wiki markup, which mention [[
command to create internal links. The url of this page is:
/SitePages/How%20To%20Use%20This%20Library.aspx
Now, about your samples:
For example, is there markup for bold text
You can select text and press Ctrl-B, or appropriate ribbon button:
external links
images
Note: If you'd like to create a wiki page markup programmatically, you will not need any wiki syntax, because the page contents is stored in html format, in appropriate document library's aspx-files.
[[
. Anyway, I think this answer adds some information to the page, and may be useful "for future readers" :)
Commented
May 2, 2011 at 10:48
As mentioned in other answers, SharePoint's wiki includes a ribbon which allows you to do most things. The disadvantage to this is that this information is not encoded in the editable markup. If you prefer your markup to be visible, read on.
Wiki Links
Placing double square brackets around content creates a link to a page of that name on the root of the site. e.g. [[Home]]
links to the page /Home.aspx
and displays the link text Home
.
Linking to content in sub folders can be done using forward slashes between directories in the path. The text displayed will be the name of the page. e.g. [[subfolder/Demo]]
links to the page /subfolder/Demo.aspx
and displays the link text Demo
.
You can change the text displayed on a link by using the Pipe (|
) character to separate the link's path and link text. e.g. [[subfolder/Demo|See a demo]]
links to the page /subfolder/Demo.aspx
and displays the link text See a demo
.
SharePoint Links
You can also link to other content within the same SharePoint site. For example, if you have a list called Tasks you can link to it via [[List:Tasks]]
. Again you can use pipe characters to amend the displayed text.
To link to an item within that list, use the item's Title; e.g. [[List:Tasks/Example Item]]
Character Escaping
Certain characters/strings can be escaped by placing a backslash before them. These characters are [[
, ]]
, \[[
and \]]
.
Third Party Options
You can also install alternate wikis from third parties with their own markups.