Newer
Older
labs / tiddlers / system / cheatsheet / $__Cheatsheet_Cheatsheet_Markdown_Lists & Blockquotes.md

Blockquotes

> Nest can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.

Produces:

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.

Lists

Unordered (bullet lists)

Use * followed by a space.

* Blah
* Blah
* Create sub-lists by indenting 2 spaces
  * Blahdy
    * Blah
* Blah blah

Produces:

  • Blah
  • Blah
  • Create sub-lists by indenting 3 spaces
    • Blahdy
      • Blah
  • Blah blah

Ordered (numbered lists)

Use a number followed by a full-stop, followed by a space.

1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa

Produces

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa

You don't need to increment the number - it will happen automatically.

1. Lorem ipsum dolor sit amet
1. Consectetur adipiscing elit
1. Integer molestie lorem at massa

Produces the same output.

Mixed

You can mix and nest lists with other things using 3 spaces:

1. Step 1
   * a
    * b
       1. Blah
  code block
  ```
    
    1. Blah
    
    This is a paragraph
    
* c
  1. Step 2. ```

Produces

  1. Step 1

    • a
      • b
        1. Blah
          code block
          1. Blah
          This is a paragraph
      • c
  2. Step 2.

Just make sure that you are consistent with the spaces and only have a single blank-line.