Skip to content

How to add a note

This site is built with MkDocs Material. You write notes in Markdown, preview locally, then publish.

Preview while you write

cd C:\Users\odiul\khagan_notes
python -m mkdocs serve

Open http://127.0.0.1:8000. The site reloads as you save.

Add a page

  1. Create a .md file under docs/ (for example docs/web/ssrf.md).
  2. Add it to the nav: list in mkdocs.yml so it shows in the menu.
  3. Write your notes. Useful blocks:
!!! warning "Authorized use only"
    ...

- [ ] a checklist item

| col | col |
|-----|-----|
| a   | b   |

Fenced code blocks get a copy button automatically.

Publish

python -m mkdocs build
../litsey_test_cf/node_modules/.bin/wrangler pages deploy site --project-name khagan-notes --branch main --commit-dirty=true
  • Label offensive content as authorized-use-only.
  • Write notes in your own words; link to sources instead of copying them wholesale.
  • Pair attacks with their defensive fix — it reads better and you learn more.