Markdown-Spickzettel
NEUMarkdown-Spickzettel mit der Syntax für Überschriften, Fett, Listen, Links, Bilder, Code, Tabellen, Aufgabenlisten und GitHub-Erweiterungen. Mit Suchfilter und Kopieren per Klick. Die Syntax wird auf Englisch angezeigt.
Läuft zu 100 % in deinem Browser — deine Eingaben werden nie hochgeladen oder auf unseren Servern gespeichert.
68 Einträge in 12 Abschnitten
Headings
Leave a space after the # characters. One # is the biggest heading, six are the smallest.
# Heading 1Top-level heading (an <h1>).
## Heading 2Second-level heading, used for main sections.
### Heading 3Third-level heading, used for subsections.
###### Heading 6Smallest heading level.
Heading 1 =========Alternative (setext) style: a line of = under the text makes a level 1 heading.
Heading 2 ---------Alternative (setext) style: a line of - under the text makes a level 2 heading.
Emphasis
**bold**Renders the text in bold.
__bold__Also bold, using underscores.
*italic*Renders the text in italics.
_italic_Also italic, using underscores.
***bold and italic***Renders the text in bold italics.
**bold with _nested italic_**Emphasis can be nested: bold text with an italic part inside.
Paragraphs & line breaks
First paragraph. Second paragraph.A blank line starts a new paragraph.
Line one Line twoTwo spaces at the end of a line force a line break inside the paragraph.
Line one\ Line twoA backslash at the end of a line also forces a break (CommonMark; not every renderer supports it).
Lists
- Item one - Item twoUnordered (bulleted) list with hyphens.
* Item one * Item twoUnordered list with asterisks; + works too. Do not mix markers in one list.
1. First 2. Second 3. ThirdOrdered (numbered) list.
1. First 1. Second 1. ThirdNumbers are re-counted when rendered, so using 1. for every item still shows 1, 2, 3.
5. Fifth 6. SixthAn ordered list starts at the first number you give it.
- Parent - Child - GrandchildIndent by two spaces (or four) to nest a list inside a list item.
1. Step one - detail A - detail BNest a bulleted list inside a numbered item by indenting under the item text.
- Item Second paragraph in the same item.Indent a paragraph under a list item to keep it part of that item.
Links & images
[link text](https://example.com)Inline link with visible text.
[link text](https://example.com "Tooltip title")Link with a title that browsers show as a tooltip.
<https://example.com>Link whose visible text is the URL itself.
<[email protected]>Clickable email address.
[link text][docs] [docs]: https://example.com/docsReference-style link: define the URL once, reuse the label anywhere.
[Jump to section](#heading-text)Link to a heading on the same page (the id is the lowercase heading with hyphens; exact rules vary by renderer).
Embeds an image; the alt text is shown when the image cannot load and read by screen readers.
Image with a title tooltip.
[](https://example.com)An image that is also a link (common for badges).
Code
`inline code`Renders a short piece of code in monospace inside a sentence.
``code with a `backtick` inside``Use double backticks as delimiters when the code itself contains a backtick.
``` plain code block ```Fenced code block with no syntax highlighting.
```js console.log("hi"); ```Fenced code block with a language name for syntax highlighting.
~~~ code block with tildes ~~~Tildes work as a fence too, handy when the code contains triple backticks.
indented codeIndenting a block by four spaces (or one tab) also makes a code block.
Blockquotes
> A quoted lineRenders an indented quotation.
> First paragraph > > Second paragraphA quote with several paragraphs: keep a > on the blank line.
> Outer >> NestedAdd a second > to nest a quote inside a quote.
> **Tip** > - item one > - item twoOther Markdown, such as bold text and lists, works inside a quote.
Tables (GitHub-flavoured)
Tables are not in original Markdown, but GitHub, GitLab and most modern renderers support them.
| Name | Role | | --- | --- | | Ada | Dev |Basic table: a header row, a separator row of dashes, then body rows.
| Left | Center | Right | | :--- | :---: | ---: | | a | b | c |Colons in the separator row set column alignment: left, centered, right.
| Expression | Meaning | | --- | --- | | `a \| b` | A pipe inside a cell |Escape a pipe character inside a cell with a backslash.
Task lists & horizontal rules
- [ ] Write docs - [x] Fix bugTask list: an empty box for open items and [x] for done items (GitHub-flavoured).
---Horizontal rule. Put a blank line above it, or it turns the previous line into a heading.
***Horizontal rule using asterisks.
___Horizontal rule using underscores.
Escaping characters
A backslash in front of a Markdown character shows it literally.
\*not italic\*Shows the asterisks instead of making the text italic.
\# not a headingShows a # at the start of a line without making a heading.
1\. not a listStops "1." from turning into a numbered list.
\[not a link\](x)Shows the brackets and parentheses as plain text.
\\Shows a single backslash.
© <div>HTML entities work in most renderers: shows © and <div>.
GitHub-flavoured extras
Supported on GitHub and many other platforms, but not part of the original Markdown spec.
~~strikethrough~~Renders the text with a line through it.
Text with a note[^1] [^1]: The footnote text.Footnote: a numbered marker in the text and the note collected at the bottom of the page.
https://example.comBare URLs are turned into links automatically (autolink).
> [!NOTE] > Useful extra information.GitHub alert block; other types are TIP, IMPORTANT, WARNING and CAUTION.
@usernameOn GitHub, mentions a user and notifies them.
#123On GitHub, links to issue or pull request number 123 in the same repository.
:rocket:Emoji shortcode that GitHub renders as 🚀.
HTML inside Markdown
Most renderers let raw HTML through, but some platforms strip tags for safety.
<kbd>Ctrl</kbd> + <kbd>C</kbd>Shows keyboard-key styling.
<br>Inserts a line break wherever you need one.
H<sub>2</sub>O and x<sup>2</sup>Subscript and superscript text.
<details> <summary>Click to expand</summary> Hidden **Markdown** content. </details>Collapsible section; keep the blank lines so Markdown inside is still processed.
<img src="logo.png" alt="Logo" width="120">Image with a fixed width, which plain Markdown images cannot set.
<!-- a comment -->Comment that is not shown in the rendered page.
Schnelle Beispiele
Typische Eingaben und die Ergebnisse, die dieses Tool liefert.
Überblick
Markdown ist ein Nur-Text-Format, das in formatiertes HTML umgewandelt wird und in README-Dateien, Dokumentationen, Chat-Tools und statischen Websites zum Einsatz kommt. Dieser Markdown-Spickzettel listet die Syntax auf, nach der du am häufigsten greifst: Überschriften, Fett und Kursiv, Listen, Links, Bilder, Codeblöcke, Zitate, Tabellen und Aufgabenlisten.
Er behandelt außerdem das Maskieren von Sonderzeichen, rohes HTML in Markdown und die GitHub-Erweiterungen wie Durchstreichen, Fußnoten und Hinweisboxen, mit einem Hinweis, wenn sie nicht zur ursprünglichen Spezifikation gehören. Jede Zeile zeigt die Syntax und das Ergebnis. Filtere die Liste und kopiere ein Snippet mit einem Klick.
Syntax, Snippets und ihre kurzen Beschreibungen werden auf Englisch angezeigt; übersetzt sind nur die Oberfläche und der Seitentext. Die Seite besteht aus reinem Text, lädt schnell und nichts, was du eingibst, wird irgendwohin gesendet.
Warum dieses Tool?
- Markdown-Syntax nachschlagen, ohne die Seite zu verlassen
- Grundsyntax und GitHub-Erweiterungen sind klar getrennt
- Mehrzeilige Snippets werden genau so kopiert, wie sie stehen
- Nach Stichwort wie table oder footnote filtern
- Reine Textseite, die schnell lädt
Funktionen
Live-Filter
Gib ein Stichwort ein, um nur passende Syntax und Abschnitte zu sehen.
Kopieren pro Snippet
Jede Zeile hat eine Schaltfläche „Kopieren“, die Zeilenumbrüche und Einrückungen beibehält.
Grundsyntax und Extras
Das ursprüngliche Markdown ist von den GitHub-Erweiterungen getrennt.
Tabellen und Aufgabenlisten
Spaltenausrichtung, maskierte senkrechte Striche und die Syntax für Kontrollkästchen sind enthalten.
Maskieren und HTML
Sonderzeichen wörtlich anzeigen und HTML nutzen, wo Markdown keine Syntax hat.
Für Mobilgeräte geeignet
Lange Snippets werden umgebrochen, die Zeilen bleiben auf dem Smartphone lesbar.
So funktioniert’s
Abschnitt wählen
Scrolle zu Headings, Lists, Links, Code, Tables oder einer anderen Gruppe (die Abschnittstitel sind auf Englisch).
Oder den Filter nutzen
Tippe ein Wort wie „table“ oder „image“ in das Feld „Diesen Spickzettel filtern“.
Lesen, was entsteht
Jede Syntax hat eine einzeilige Beschreibung des Ergebnisses auf Englisch.
Kopieren und einfügen
Klicke auf Kopieren und füge das Snippet in deine README oder deinen Editor ein; ändere danach den Text.