Markdown
See also the cheat sheet or this cheat sheet
Options can be found in github
General
* [anchor](url "with title")
* [anchor][1]
* [anchor][some reference]
* italics with *asterisks* or _underscores_
* bold with **asterisks** or __underscores__
* combined with **asterisks and _underscores_**
* ~~The world is flat.~~ We now know that the world is round.
* X^2^
* H~2~O
* $$ E =mc^2$$
[1]: https://compima.ch
[some reference]: https://gna.ch
- anchor
- anchor
- anchor
- italics with asterisks or underscores
- bold with asterisks or underscores
- combined with asterisks and underscores
The world is flat.We now know that the world is round.- X^2^
- H
2O - $$ E =mc^2$$
Code
Inline `code` has `backticks around` it
Inline code
has backticks around
it
```javascript
var s = "JavaScript syntax highlighting";
alert(s);
var s = "JavaScript syntax highlighting (not yet supported)";
alert(s);
Footnotes (not yet supported)
Here is as simple footnote[^1].
[^1]: My reference
Here is as simple footnote[^1].
[^1]: My reference
Tables
Colons can be used to align columns.
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.
Markdown | Less | Pretty
--- | --- | ---
*Still* | `renders` | **nicely**
1 | 2 | 3
Colons can be used to align columns.
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.
Markdown | Less | Pretty |
---|---|---|
Still | renders |
nicely |
1 | 2 | 3 |
Task Lists
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
- Write the press release
- Update the website
- Contact the media
Blockquotes
> Blockquotes are handy to emulate reply text
> This line is part of the same quote.
Quote Break
> Long text will properly break too
Blockquotes are handy to emulate reply text
This line is part of the same quote.
Quote Break
Long text will properly break too
Quotes / Citations
{quote}The world is not enough
-- Peter Schlüter
The world is not enoughPeter Schlüter
Line Breaks
Here's a line for us to start with.
This line is separated from the one above by two newlines, so it will be a *separate paragraph*.
This line is also a separate paragraph, but...
This line is only separated by a single newline, so it's a separate line in the *same paragraph*.
Here's a line for us to start with.
This line is separated from the one above by two newlines, so it will be a separate paragraph.
This line is also a separate paragraph, but...
This line is only separated by a single newline, so it's a separate line in the same paragraph.
Images
As long as you know the image name, you can add it, even if it's not part of the document itself.
Allowed html attributes: width, height, alt, title, id
Allowed parameters: caption, size (thumbnail, medium, large)
!082a101c5fc09f63f43b664e412a5f0a-gasmeter-oscilloscope-without-metal.png|size=medium,caption="Many\, many people\!"!
PDF's
[anchor to pdf](/attachments/8621d5c0db8e5387a01ed0ba2eb306c3-empty.pdf)
anchor to pdf