Using Markdown
Markdown is used to parse text and turn it in the HTML, without having to put the usual HTML tags around it. Markdown is used by Content and Snippets only if "Use Markdown" is checked.
These are the most common markdown syntax. Please see the full syntax and the PHP Markdown Extra pages if you have any questions.
Contents
Headers
# This is Header 1
## This is a Header 2
### This is a Header 3 (etc, up to level 6)
(Alternate syntax:)
Header 1
========
Header 2
--------
This is Header 1
This is a Header 2
This is a Header 3 (etc, up to level 6)
Header 1
Header 2
You can also create header ids, and link to them.
Header 1 {#header1}
========
## Header 2 ## {#header2}
[Link back to header 1](#header1)
Paragraphs
Lines of text are turned into paragraphs. And chars like > and & are escaped for you.
Note that you need to have a blank line between paragraphs.
For example, this is not a new paragraph.
Lines of text are turned into paragraphs. And chars like > and & are escaped for you.
Note that you need to have a blank line between paragraphs. For example, this is not a new paragraph.
Links
This is [an example](http://example.com "Title") with a title.
[This link](http://example.com) has no title.
If you are refering to a page on this site, you should use a [relative link](using.markdown).
This is an example with a title.
This link has no title.
If you are refering to a page on this site, you should use a relative link.
Lists
* To make a unordered list, put an asterisk and three spaces
* On each line that you want a bullet on
- You can also use - or +
+ And you can mix them, but it will make no difference in the final page
- To make a unordered list, put an asterisk and three spaces
- On each line that you want a bullet on
- You can also use - or +
- And you can mix them, but it will make no difference in the final page
1. For ordered lists, put a number and a period
2. On each line that you want numbered.
9. It doesn't actually have to be the correct number order
5. Just as long as each line has a number
- For ordered lists, put a number and a period
- On each line that you want numbered.
- It doesn't actually have to be the correct number order
- Just as long as each line has a number
* To nest lists you just add four spaces before the * or number
1. Like this
* It's pretty basic, this line has eight spaces, so its nested twice
- To nest lists you just add four spaces before the * or number
- Like this
- It's pretty basic, this line has eight spaces, so its nested twice
- Like this
1. If you put a blank line before and after each list item
1. Then they will be wrapped in paragraphs, which will make them take up more space
1. This can help make them more readable
If you put a blank line between each list item
Then they will be wrapped in paragraphs, which will make them take up more space
This can help make them more readable
Italics and Bold
*Asterisks and underscores both add emphasis*
_Another word for emphasis is italics_
**Double asterisks or underscores make text strong**
__Or in other words, bold__
Asterisks and underscores both add emphasis
Another work for emphasis is italics
Double asterisks or underscores make text strong
Or in other words, bold
Images




Horizontal Rules
Horizontal rules are made by placing 3 or more hyphens, asterisks or underscores on a line by themselves.
---
* * *
___________________________
Tables
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell
| First Header | Second Header |
|---|---|
| Content Cell | Content Cell |
| Content Cell | Content Cell |
Note that the pipes on the left and right side are optional, and you can change the text-alignment by adding a colon on the right, or on both sides for center.
| Item | Value | Savings |
| --------- | -----:|:-------:|
| Computer | $1600 | 40% |
| Phone | $12 | 30% |
| Pipe | $1 | 0% |
| Item | Value | Savings |
|---|---|---|
| Computer | $1600 | 40% |
| Phone | $12 | 30% |
| Pipe | $1 | 0% |
Using HTML
You can still use html on your pages, even with Markdown turned on, but markdown won't be parsed inside of html elements unless you tell it to. For example:
<div class="something">
This [link](http://kohanut.com) **won't** get parsed!
</div>
Unless you add markdown="1" to the div. The markdown tag will be removed and the markdown will be processed.
<div class="something" markdown="1">
This [link](http://kohanut.com) **will** get parsed!
</div>
This link will get parsed!