chore: add spacing in markdown example

This also makes the markup for lists compliant with Python-Markdown (required blank line before).

Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
This commit is contained in:
Timothée Mazzucotelli
2026-04-24 09:25:59 +00:00
committed by GitHub
parent 5081de243f
commit 46b03e5d7c
@@ -5,6 +5,7 @@ icon: simple/markdown
# Markdown in 5min
## Headers
```
# H1 Header
## H2 Header
@@ -15,6 +16,7 @@ icon: simple/markdown
```
## Text formatting
```
**bold text**
*italic text*
@@ -24,6 +26,7 @@ icon: simple/markdown
```
## Links and images
```
[Link text](https://example.com)
[Link with title](https://example.com "Hover title")
@@ -32,19 +35,23 @@ icon: simple/markdown
```
## Lists
```
Unordered:
- Item 1
- Item 2
- Nested item
Ordered:
1. First item
2. Second item
3. Third item
```
## Blockquotes
```
> This is a blockquote
> Multiple lines
@@ -52,6 +59,7 @@ Ordered:
```
## Code blocks
````
```javascript
function hello() {
@@ -61,6 +69,7 @@ function hello() {
````
## Tables
```
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
@@ -69,6 +78,7 @@ function hello() {
```
## Horizontal rule
```
---
or
@@ -78,6 +88,7 @@ ___
```
## Task lists
```
- [x] Completed task
- [ ] Incomplete task
@@ -85,11 +96,13 @@ ___
```
## Escaping characters
```
Use backslash to escape: \* \_ \# \`
```
## Line breaks
```
End a line with two spaces
to create a line break.