Markdown
Markdown is een lichtgewicht opmaaktaal met een eenvoudige syntaxis. Markdown wordt gebruikt om tekst te formatteren. Markdown bestanden hebben de extensie .md. Markdown bestanden kunnen worden omgezet naar HTML met behulp van een static site generator zoals Docfx.
Markdown bestanden kunnen worden geschreven in een eenvoudige teksteditor zoals Notepad of Visual Studio Code. Visual Studio Code is een lichtgewicht code-editor die beschikt over een ingebouwde Markdown previewer.
Hieronder enkele voorbeelden van Markdown syntax:
Vet of Italic tekst:
**This is a bold text.**
*This is an italic text.*
Resultaat:
This is a bold text.
This is an italic text.
Subtitle
This normal text. Use 2 spaces at the end of a line to create a new line.
This is a new line. This is not a new line.
Links
[Link to Google](https://www.google.com)
[Link to Menu Item 2](../MenuItem2/index.md)
Resultaat:
Link to Google
Link to Menu Item 2
Lists
- Item 1
- Item 2
- Item 3
Resultaat:
- Item 1
- Item 2
- Item 3
Tabel
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Row 1 | Row 1 | Row 1 |
| Row 2 | Row 2 | Row 2 |
| Row 3 | Row 3 | Row 3 |
Resultaat:
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Row 1 | Row 1 | Row 1 |
| Row 2 | Row 2 | Row 2 |
| Row 3 | Row 3 | Row 3 |
Code
print("Hello World")
Quotes
This is a quote:
> This is a quote.
Resultaat: This is a quote:
This is a quote.
Checkbox
- [x] Checkbox 1
- [ ] Checkbox 2
- [ ] Checkbox 3
Resultaat:
- [x] Checkbox 1
- [ ] Checkbox 2
- [ ] Checkbox 3
TIP, WARNING, NOTE, IMPORTANT, CAUTION
> [!TIP]
> This is a tip.
This is a Warning:
> [!WARNING]
> This is a warning.
This is a Note:
> [!NOTE]
> This is a note.
This is a Important:
> [!IMPORTANT]
> This is important.
This is a Caution:
> [!CAUTION]
> This is a caution.
Resultaat:
TIP
This is a tip.
This is a Warning:
WARNING
This is a warning.
This is a Note:
NOTE
This is a note.
This is a Important:
IMPORTANT
This is important.
This is a Caution:
CAUTION
This is a caution.