ML with circles

Mearns Learns

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 that will be displayed at the bottom of the page1.

 [^aFootnote]: This is what a footnote looks like.

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 ![Alt text](URL "Optional Title that shows as tooltip") Ctrl + G

![300px place holder image](images/markdown_cheatsheet_01.png "Placeholder")

300px place holder image 300px place holder image

Insert a picture with hyperlink to the picture.

[![300px place holder image](images/markdown_cheatsheet_01.png "Placeholder")](images/markdown_cheatsheet_01.png)

300px place holder image 300px place holder image

Lists

- Unordered list Ctrl + U
- Second item

  • Unordered list
  • Second item

or

1. Ordered list Ctrl + O
2. Second item

  1. Ordered list
  2. Second item

Horizontal line

*** Ctrl + R


HTML and CSS

CSS reference to insert icons <i class="icon-folder"></i>
HTML reference <b>Hello</b>.

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:

| Unit      |   Amount | No.  |
| :-------- | --------:| :--: |
| West      | 1,234 GBP|1     |
| East      |   50 GBP |4321  |
UnitAmountNo.
West1,234 GBP1
East50 GBP4321

Definition Lists

Term 1
Definition a
Definition b

Fenced code blocks

GitHub’s fenced code blocks are supported with Prettify syntax highlighting:

// Foo
var bar = 0;

Table of contents

You can insert a table of contents using the marker [TOC]:

[TOC]

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.


  1. This is what a footnote looks like. ↩︎