MarkDown CheatSheet
Headings
Use equals sign (=) for H1 and the minus sign (-) for H2 under the heading text.
Alternately use the # key, for H1 to H6. Ctrl + H
There must be a space between the # and the heading text.
Text highlighting
*
Emphasis*
Ctrl + I**
Strong**
Ctrl + B~~
Strike through~~
Paragraphs and line breaks
This is a line that ends with a double space.
It creates a line break.
To create a paragraph, leave a blank line.
Block Quotes and Code
>
This is the first level. (Ctrl + Q)
>>
This is nested blockquote.
>
Back to the first level.
Create a code block with three back tic’s (```) at the start and end Ctrl + K
Dim strErrorMsg as String
Create a code block by starting the line with a tab or with four spaces.
Create a code span by using back tic
around the code.
The back tic ( ` ) can be found on the top left of a UK keyboard.
Footnote
A Footnote [^aFootnote]
, needs matching reference 1 that will be displayed at the bottom of the page 2.
For multiline footnotes, indent the subsequent lines.
[^aFootnote]: This is what a footnote looks like.
[^bFootnote]: This is what a multiline footnote looks like.
Second line of the footnote.
Links
Insert a [Hyperlink](https://stackedit.io/ "Optional Title")
Ctrl + L
Link to a heading in the document [Headings](#headings)
Headings.
The link after the # must be all lowercase.
If there are spaces in the heading use a dash e.g (#my-headings).
Images
Insert a picture 
Ctrl + G

Insert a picture with hyperlink to the picture.
[](images/markdown_cheatsheet_01.png)
Lists
- Unordered list
Ctrl + U- Second item
- Unordered list
- Second item
or
1. Ordered list
Ctrl + O2. Second item
- Ordered list
- Second item
Horizontal line
***
Ctrl + R
HTML and CSS
CSS reference <i class="icon-star">★</i>
★
HTML reference <b>Hello</b>
Hello.
- Markdown inside HTML
- Does *not* work well. Use HTML tags instead.
Tables
Markdown Extra has a special syntax for tables, you can specify column alignment with one or two colons. The single colon indicates left and right alignment. The double colons center alignment :
| Unit | No. of Items |Total Amount |
| :-- ------| :----------: | ------------:|
| West | 1 | 1,234 GBP |
| East | 4321 | 50 GBP |
Unit | No. of Items | Total Amount |
---|---|---|
West | 1 | 1,234 GBP |
East | 4321 | 50 GBP |
Definition Lists
Enter a term and start the next line with a colon followed by a space:
Term 1
: Definition a
: Definition b
Term 2
: Definition c
- Term 1
- Definition a
- Definition b
- Term 2
- Definition c
ToDo List
Start with a dash (-) and then square brackets with a space [ ] for an unchecked item. For a checked item, add an x in between the brackets [x] instead of a space.
- [x] Write
- [ ] Review
- [ ] Publish
- Write
- Review
- Publish
Heading Ids
Create an id for the heading in the HTML code:
Heading Ids {#heading-id}
-------------------------
It can be linked to using:
[Heading Ids](#heading-id)
Fenced code blocks
GitHub’s fenced code blocks are supported with Prettify syntax highlighting if the language is specified:
```json
{“file”:
{
“id”: “12345”,
“value”: “FileName”
}
}
```
{"file":
{
"id": "12345",
"value": "FileName"
}
}
Escape characters
To escape markdown syntax characters, add a backslash in front of the character:
\- Escaped unordered list item
- Unescaped ordered list item
- Escaped unordered list item
Comments
Usually, comments in Markdown are just standard HTML comments.<!-- like this -->
StackEdit extends HTML comments in order to produce useful, highlighted comments in the preview but not in your exported documents.