Markdown

Starten Sie mit Markdown für Dokumentation

TL;DR

Was: Leichtgewichtige Auszeichnungssprache für formatierten Text.

Warum: Schreiben Sie Docs, READMEs, Notizen mit einfacher Syntax, die zu HTML konvertiert wird.

Quick Start

Überschriften:

# H1 Header
## H2 Header
### H3 Header

Textformatierung:

**bold text**
*italic text*
~~strikethrough~~
`inline code`

Listen:

- Unordered item
- Another item
  - Nested item

1. Ordered item
2. Another item

Links und Bilder:

[Link text](https://example.com)
![Alt text](image.png)

Code-Blöcke:

```javascript
const greeting = "Hello, World!";
console.log(greeting);
```

Cheatsheet

SyntaxErgebnis
**bold**bold
*italic*italic
~~strike~~strike
`code`code
[text](url)Link
![alt](img)Bild
> quoteBlockquote
---Horizontale Linie

Tabellen:

| Header 1 | Header 2 |
|----------|----------|
| Cell 1   | Cell 2   |
| Cell 3   | Cell 4   |

Aufgabenlisten (GitHub Flavored):

- [x] Completed task
- [ ] Pending task

Gotchas

Line breaks not working

<!-- Add two spaces at end of line  -->
Line one
Line two

<!-- Or use blank line for paragraph -->
Paragraph one

Paragraph two

Images not showing

<!-- Use relative path -->
![Screenshot](./images/screenshot.png)

<!-- Or absolute URL -->
![Logo](https://example.com/logo.png)

Code block language highlighting

<!-- Specify language after backticks -->
```python
print("Hello")
```

```bash
echo "Hello"
```

Escaping special characters

\* Not italic \*
\# Not a header
\[Not a link\]

Next Steps