A cheatsheet for currently supported Markdown syntax on Cryogenix. Because of security header policy external assets can't be linked to, so upload your own images and use the original filename without any path to include them.
We use Text::Markdown which implements John Gruber's original 2004 syntax with the addition of an extra image tag which allows images uploaded with an article to be embedded.
# h1 Heading
h1 Heading
## h2 Heading
h2 Heading
### h3 Heading
h3 Heading
#### h4 Heading
h4 Heading
##### h5 Heading
h5 Heading
###### h6 Heading
h6 Heading
Horizontal Rules
___
---
\***
Emphasis
**This is bold text**
This is bold text
__This is bold text__
This is bold text
*This is italic text*
This is italic text
_This is italic text_
This is italic text
Blockquotes
> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each
> > > ...or with spaces between arrows.
Blockquotes can also be nested...
...by using additional greater-than signs right next to each other...
...or with spaces between arrows.
Lists
Unordered
- Create a list by starting a line with
+
,-
, or*
- Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
- Ac tristique libero volutpat at
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Very easy!
Ordered
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
Integer molestie lorem at massa
You can use sequential numbers...
- ...or keep all the numbers as
1.
Code
Inline `#include <code.h>`
Inline #include <code.h>
Indented code:
// Some comments
line 1 of code
line 2 of code
line 3 of code
Links
[link text](https://cryogenix.org)
[link with tooltip](https://cryogenix.org/ ".:: C R Y O G E N I X ::.")
Images (uploaded)
!
[[cryo.jpg]]
!
[[cryo.jpg|w=500]]
Images (elsewhere within the cryogenix.org domain)
