Changes in WikiSyntax
Editor Comment
links further examined
Revision Differences of Revision 22
[TOC] ¶¶
This wiki uses a special syntax to render headlines, links, italic emphasis, table of contents ansd so on. Below you'll find the expressions to cretae such things. ¶
¶
## Headlines ¶
¶
### Code: ¶
~~~~~~~~~~~~~~~ ¶
# Main Topic ¶
## Sub Topic ¶
### Sub Sub Topic ¶
~~~~~~~~~~~~~~~ ¶
¶
You may add more # for smaller headlines. ¶
¶
## Paragraphs ¶
¶
### Code: ¶
~~~~~~~~~~~~ ¶
This is a simple paragraph. ¶
It continues on this line. ¶
¶
This is a new paragraph. ¶
To get a linebreak inside a paragraph ¶
end the line with two spaces. ¶
~~~~~~~~~~~~ ¶
¶
### Rendered: ¶
This is a simple paragraph. ¶
It continues on this line. ¶
¶
This is a new paragraph. ¶
To get a linebreak inside a paragraph ¶
end the line with two spaces. ¶
¶
¶
## Emphasis ¶
¶
### Code: ¶
~~~~~~ ¶
*This is italic* _This too_ ¶
¶
**This is bold** __This too__ ¶
¶
***This is bold and italic*** ___This too___ ¶
~~~~~~ ¶
¶
### Rendered: ¶
*This is italic* _This too_ ¶
¶
**This is bold** __This too__ ¶
¶
***This is bold and italic*** ___This too___ ¶
¶
¶
## Lists ¶
¶
### Code: ¶
~~~~ ¶
* Bulleted list ¶
* Can also be nested ¶
* Item 2 ¶
* Item 3 ¶
¶
~~~~ ¶
¶
### Rendered: ¶
* Bulleted list ¶
* Can also be nested ¶
* Item 2 ¶
* Item 3 ¶
¶
If you have a headline for your list, make sure to have two line breaks between headline and list. To end the list, you also use line breaks. ¶
¶
¶
## Links
¶
### Code: ¶
~~~~ ¶
This is an [external link](http://www.sf.net). ¶
¶
This is an internal link to the WikiSyntax page. This is also a link to [Description of Wikisyntax](wiki/WikiSyntax) ¶
¶
This is a link to the header in the same
This a link to a heade
¶
To get the string, you have to create a table of contents (see below) and click on the paragraph's name. ¶
~~~~ ¶
¶
### Rendered: ¶
This is an [external link](http://www.sf.net). ¶
¶
This is an internal link to the WikiSyntax page. This is also a link to [Description of Wikisyntax](wiki/WikiSyntax) ¶
¶
This is a link to the header in the same article [link to header "Links" in this article](#links). ¶
This a link to a header in an other aricle [Link to header /wiki/Main Page/#content](/wiki/Main Page#content) ¶
¶
¶
##Images ¶
¶
### Code: ¶
This includes an image: ¶
¶
~~~~ ¶
![Widelands Logo](/wlmedia/img/Logo.png) ¶
¶
This includes a clickable image: ¶
[![barbarians.png](/wlmedia//wlimages/Barbarians.png)](http://wl.widelands.org/wlmedia/news/uploaded/Barbarians.pdf) ¶
¶
~~~~ ¶
¶
### Rendered:
This is an [external link](http://www.sf.net). ¶
¶
This is an internal link to the WikiSyntax page. This is also a link to [Description of Wikisyntax](wiki/WikiSyntax) ¶
¶
This is a link to this [paragraph](http://wl.widelands.org/wiki/WikiSyntax/#links_and_images). ¶
To get the string, you have to create a table of contents (see below) and click on the paragraph's name.
¶
This includes an image: ¶
![Widelands Logo](/wlmedia/img/Logo.png) ¶
¶
This includes a clickable image: ¶
[![barbarians.png](/wlmedia//wlimages/Barbarians.png)](http://wl.widelands.org/wlmedia/news/uploaded/Barbarians.pdf) ¶
¶
¶
## Tables ¶
¶
### Code: ¶
¶
~~~~~ ¶
Header 1 | Header 2 ¶
------- | -------- ¶
Value 1 | Value 2 ¶
Value 3 | Value 4 ¶
Value 5 | Value 6 ¶
~~~~~ ¶
¶
### Rendered: ¶
¶
Header 1 | Header 2 ¶
------- | -------- ¶
Value 1 | Value 2 ¶
Value 3 | Value 4 ¶
Value 5 | Value 6 ¶
¶
If you have a headline for your table, make sure to have two line breaks between headline and list. To end the table, you also use line breaks. ¶
¶
## Table of Contents ¶
### Code: ¶
~~~~~~~~ ¶
[TOC] ¶
~~~~~~~~ ¶
¶
### Rendered: ¶
[TOC] ¶
¶
Note that there must be two line breaks after `[ TOC ]`. ¶
All Headlines (#) will be listed in the table of contents. ¶
¶
¶
## Footnotes ¶
¶
### Code: ¶
~~~~~ ¶
Footnotes[^1] have a label[^label] and a definition[^!DEF]. ¶
¶
[^1]: This is a footnote ¶
[^label]: A footnote on "label" ¶
[^!DEF]: The definition of a footnote. ¶
~~~~~ ¶
¶
### Rendered: ¶
Footnotes[^1] have a label[^label] and a definition[^!DEF]. ¶
¶
[^1]: This is a footnote ¶
[^label]: A footnote on "label" ¶
[^!DEF]: The definition of a footnote. ¶