1. #zaplog
  2. #zaplog-handleiding
  3. Artikelen

Markdown Cheat Sheet | Markdown Guide

A quick reference to the Markdown syntax.

www.markdownguide.org

No Rights Apply
8
  1. zaplog@zaplog
    #153325

    Markdown headers in de comments:

    H1

    H2

    H3

    H4

    H5
    H6

    Alternatively, for H1 and H2, an underline-ish style:

    Alt-H1

    Alt-H2

  2. zaplog@zaplog
    #153326

    Vet en cursief in de comments:

    Emphasis, aka italics, with asterisks or underscores.

    Strong emphasis, aka bold, with asterisks or underscores.

    Combined emphasis with asterisks and underscores.

    Strikethrough uses two tildes. Scratch this.

  3. zaplog@zaplog
    #153327

    Opsommingen in de comments:

    1. First ordered list item
    2. Another item
      ⋅⋅* Unordered sub-list.
    3. Actual numbers don't matter, just that it's a number
      ⋅⋅1. Ordered sub-list
    4. And another item.

    ⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).

    ⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅
    ⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅
    ⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)

    • Unordered list can use asterisks
    • Or minuses
    • Or pluses
  4. zaplog@zaplog
    #153328

    Tabellen in de comments:

    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
  5. zaplog@zaplog
    #153329

    Horizontale lijnen in de comments:

    Three or more...


    Hyphens


    Asterisks


    Underscores

  6. zaplog@zaplog
    #153332

    Code in de comments:

    var s = "JavaScript syntax highlighting";
    alert(s);
    s = "Python syntax highlighting"
    print s
    No language indicated, so no syntax highlighting. 
    But let's throw in a tag.
  7. zaplog@zaplog
    #153333

    Links in de comments:

    [I'm an inline-style link](https://www.google.com)
    
    [I'm an inline-style link with title](https://www.google.com "Google's Homepage")
    
    [I'm a reference-style link][Arbitrary case-insensitive reference text]
    
    [You can use numbers for reference-style link definitions][1]
    
    [link text itself].
    
    http://www.example.com 

    I'm an inline-style link

    I'm an inline-style link with title

    [I'm a reference-style link][Arbitrary case-insensitive reference text]

    I'm a relative reference to a repository file

    [You can use numbers for reference-style link definitions][1]

    Or leave it empty and use the [link text itself].

    URLs and URLs in angle brackets will automatically get turned into links.
    http://www.example.com