Markdown
Text
Paragraphs and Newlines
Paragraphs are separated
by a blank line.
Paragraphs are separated
by a blank line.
Let 2 spaces at the end of a line to do a
line break
Let 2 spaces at the end of a line to do a
line break
Text Attributes
Text attributes *italic*, **bold**, `monospace`, ~~strikethrough~~
Text attributes italic, bold, monospace
, strikethrough
Special Characters
(c), (tm), (r), <-, ->
©, ™, ®, ←, →
Emoji
:boom:
:+1:
:-1:
:boom:
:+1:
:-1:
http://www.emoji-cheat-sheet.com/
Links
A [link](http://example.com).
No space between ] and (
Automatic links
<http://hugendubel.com>
A link
Footnotes
Footnotes[^1] have a label[^@#$%] and the footnote's content.
[^1]:
This is a footnote content.
[^@#$%]: [
A footnote on the label: "@#$%".
which continues until indent end
Footnotes1 have a label2 and the footnote's content.
Images
![Katze]({filename}/images/chat.png)
{filename} is the marker for pelican
Lists
Unordered
* apples
* oranges
* pears
- apples
- oranges
- pears
Numbered
1. apples
1. oranges
1. pears
- apples
- oranges
- pears
Tables
Regular
| First Header | Second Header |
| ------------- | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
Align right
| Item | Value |
| --------- | -----:|
| Computer | $1600 |
| Phone | $12 |
| Pipe | $1 |
Item | Value |
---|---|
Computer | $1600 |
Phone | $12 |
Pipe | $1 |
Centered
| Item | Value |
| --------- |:-----:|
| Computer | $1600 |
| Phone | $12 |
| Pipe | $1 |
Item | Value |
---|---|
Computer | $1600 |
Phone | $12 |
Pipe | $1 |
Align left
| Item | Value |
| --------- |:----- |
| Computer | $1600 |
| Phone | $12 |
| Pipe | $1 |
Item | Value |
---|---|
Computer | $1600 |
Phone | $12 |
Pipe | $1 |
Formatting within
| Function name | Description |
| ------------- | ------------------------------ |
| `help()` | Display the help window. |
| `destroy()` | **Destroy your computer!** |
Function name | Description |
---|---|
help() |
Display the help window. |
destroy() |
Destroy your computer! |
Meta
Table of Content
[TOC]
Headlines
#Headline h1
or
Headline h1
===========
##Headline h2
or
Headline h2
-----------
###Headline h3
####Headline h4
Headline h1
Headline h2
Headline h3
Headline h4
code
see http://pythonhosted.org//Markdown/extensions/code_hilite.html
Indent code
<indent 4 spaces
-
<indent 4 spaces
Add Syntax Highlighting
:::python hl_lines="1 3" linenums=on
import sys
a = "hello world"
if a:
print a
-
import sys
a = "hello world"
if a:
print a
Fenced Code Block
```{.python}
import sys
print hello world
```
import sys
print hello world
Shebang turns on line numbers
```
#!/bin/python
import sys
print hello world
```
```
#!python
import sys
print hello world
```
1 2 3 | #!/bin/python
import sys
print hello world
|
1 2 | import sys
print hello world
|