Skip to content

Instantly share code, notes, and snippets.

@HoffiMuc
Last active April 26, 2025 13:48
Show Gist options
  • Save HoffiMuc/cebbcc67d6d03357555f134e78381792 to your computer and use it in GitHub Desktop.
Save HoffiMuc/cebbcc67d6d03357555f134e78381792 to your computer and use it in GitHub Desktop.
markdown header numbering
UUID draft created last modified aliases tags
b2f4869b-178c-47b7-b105-fd77e0de76ef
false
2025-04-18 (Fri.)
2025-04-18 (Fri.)
default

Markdown Tutorial

Learning by doing:

Kapitel 1

hier ist mein Absatz

noch mehr Kontext

hier beginnt Absatz 2

  • Aufzählung 1
  • 2
    • sub 2
  • 3
    1. subsub
    2. subsub
    3. subsub

Nummerierung

  1. punkt 1
  2. punkt 2
  3. punkt 3

starting with 42

  1. starting with 42
  2. starting with 42
  3. starting with 42

1) h2 Unterkapitel Tabelle

eins zwei drei
1 2 3

1.1) h3 Unterunterkapitel

kursiv ... fett

Strikethrough

1.2) h3 Unterunterother

name des links

2) h2 zweites Unterkapitel

zweites Unterkapitel

2.1) h3 erstes 3-level des zweiten Unterkapitel

erstes 3-level des zweiten Unterkapitel

2.1.1) erstes 4

erstes 4

2.1.2) zweites 4

zweites vier

2.2) zweites 3-level des zweiten Unterkapitel

zweites 3-level des zweiten Unterkapitel

2.2.1) zweites erstes 4

zweites erstes 4

2.2.2) zweites zweites 4

zweites zweites 4

2.3) nochn h3

nochn h3

2.3.1) ein h4 unter norchn h3

ein h4 unter nochn h3

3) final h2

final h2

3.1) final h3

final h3

3.1.1) final h4

final h4


4) Horizontal Rules




5) Blockquotes

Blockquotes can also be nested...

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

...or with spaces between arrows.

6) Code

Inline code

Indented code

// Some comments
line 1 of code
line 2 of code
line 3 of code

Block code "fences"

Sample text here...

Syntax highlighting

var foo = function (bar) {
  return bar++;
};

console.log(foo(5));

7) Images

Minion

Stormtroopocat

7.1) size of Images

different markdown flavors use different syntax for sizing images,
so better fallback to plain html:

Minion Stormtroopcat

7.2) images footnote style syntax

Like links, Images also have a footnote style syntax,
where you define the url of [id] later in the document.

Alt text


With a reference later in the document defining the URL location:

8) Tables

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Right aligned columns

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

final H1

1) final H2

1.1) final H3

1.2) final H4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment