Markdown
Examples of Markdown and corresponding output used on this site.
The full Markdown syntax specification is available at http://daringfireball.net/projects/markdown/syntax.
This site uses the python-markdown implementation with the tables and table of contents extras.
Inline
Element | Markdown | Output |
---|---|---|
Emphasis | *Emphasis* |
Emphasis |
Strong | **Strong** |
Strong |
Code | `Code` |
Code |
Link | [ahernp.com](http://ahernp.com "Ahern, Paul") |
ahernp.com |
Image |  |
![]() |
Thumbnail | [](/media/img/Gougane.jpg) |
![]() |
Title | # Title |
Title |
Heading | ## Heading |
Heading |
Lists
* Item
- Item
1. Item
1. Item
- Item
- Item
Nested
Indent each level by an additional 4 spaces.
1. Install package **numlockx**.
1. Setup Local LAMP server for development:
1. `sudo tasksel install lamp-server`
1. `sudo apt-get install phpmyadmin`
- Install package numlockx.
- Setup Local LAMP server for development:
sudo tasksel install lamp-server
sudo apt-get install phpmyadmin
Block
Code
Indent by a tab or 4 spaces.
Or use fenced code blocks:
```.python
if a > b:
pass
```
if a > b:
pass
Block Quote
> In a hole in the ground there lived a hobbit.
> Not a nasty damp smelly hole filled with the
> ends of worms and things. Nor a dry sandy hole
> with nothing in it to sit down on or eat.
> This was a hobbit-hole and that means comfort.
In a hole in the ground there lived a hobbit. Not a nasty damp smelly hole filled with the ends of worms and things. Nor a dry sandy hole with nothing in it to sit down on or eat. This was a hobbit-hole and that means comfort.
Tables
Header 1 | Header 2
---------|---------
Cell 1,1 | Cell 1,2
Cell 2,1 | Cell 2,2
Header 1 | Header 2 |
---|---|
Cell 1,1 | Cell 1,2 |
Cell 2,1 | Cell 2,2 |