Markdown Cheatsheet
Snelle referentie voor alles wat je nodig hebt in MkDocs/Material. Auteur: Johan Beysen
1. Tekst Opmaak
vet | cursief | ~~doorstreept~~ | inline code
2. Titels
3. Lijsten
4. Links & Afbeeldingen
[linktekst](https://url.com)
[interne link](../tools/nmap.md)

{ width="600" }
5. Code
Inline: `code`
Block met syntax highlighting:
```bash
nmap -sV -sC -oA scan 10.10.10.1
```
```python
import requests
r = requests.get("https://target.com")
print(r.status_code)
```
```powershell
Get-ChildItem -Recurse | Select-Object Name
```
6. Tabellen
| Tool | Gebruik | Categorie |
|-----------|----------------------|------------|
| Nmap | Port scanning | Recon |
| Burp Suite| Web app testing | Web |
| Mimikatz | Credential dumping | Post-exploit|
| Tool | Gebruik | Categorie |
|---|---|---|
| Nmap | Port scanning | Recon |
| Burp Suite | Web app testing | Web |
| Mimikatz | Credential dumping | Post-exploit |
7. Blockquotes
Dit is een quote of een opmerking.
8. Horizontale Lijn
9. Material Theme Extras
9.1 Admonitions (gekleurde blokken)
!!! danger "Critical Finding"
RCE mogelijk via unsanitized input op /upload endpoint.
!!! warning "Let op"
Alleen testen op systemen waarvoor je toestemming hebt.
!!! tip "Pro tip"
Gebruik Burp Repeater voor manual testing van parameters.
!!! note "Nota"
Zie ook OWASP Testing Guide v4.
!!! success "Opgelost"
Patch uitgerold op 2024-03-01.
!!! info "Info"
CVE-2024-XXXX — CVSS score 9.8
Critical Finding
RCE mogelijk via unsanitized input op /upload endpoint.
Pro tip
Gebruik Burp Repeater voor manual testing van parameters.
9.2 Uitklapbare Blokken
```m u arkdown
Klik om uit te klappen
Verborgen inhoud hier. Handig voor lange payloads of outputs.
Standaard open
Dit blok staat standaard open.
??? note "Klik om uit te klappen"
Verborgen inhoud hier. Handig voor lange payloads of outputs.
### 9.3 Tabs
```markdown
=== "Linux"
```bash
curl -X POST https://target.com/api
```
=== "Windows"
```powershell
Invoke-RestMethod -Uri https://target.com/api -Method POST
```
=== "Python"
```python
requests.post("https://target.com/api")
```
9.4 Frontmatter
10. Handige Shortcuts in VS Code
| Actie | Shortcut |
|---|---|
| Preview openen | Ctrl+Shift+V |
| Bold | Ctrl+B |
| Italic | Ctrl+I |
| Link invoegen | Ctrl+K |
| Zoeken in bestand | Ctrl+F |
| Zoeken in project | Ctrl+Shift+F |
11. MkDocs Specifiek
Interne Links
Afbeeldingen in Assets
MkDocs Commando's
mkdocs serve # Start live preview
mkdocs build # Bouw statische site
mkdocs new . # Nieuw project aanmaken
Meer info: MkDocs Material documentatie