Skip to content
Knowledge Base

Welcome to the Knowledge Base

How this site turns a folder of Markdown notes into a searchable developer wiki.

Updated 1 min readGetting Started

Every page on this site is a Markdown file on disk. There is no database, no CMS and no admin panel: you write a note, save it, and it becomes a page.

The daily workflow

  1. Create a Markdown file inside a category directory.
  2. Write the note.
  3. Refresh the browser.
bash
# A new note in an existing category
$EDITOR content/git/git-worktrees.md

# A new note in a brand new category — the directory is the category
mkdir -p content/postgres
$EDITOR content/postgres/vacuum.md
Tip

Frontmatter is optional. A note with no metadata at all still gets a title, a description, a category, a reading time and a place in the sidebar.

What you get for free

FeatureSource
Page routeThe file path, for example content/git/git-log.md becomes /git/git-log
Sidebar entryThe directory structure
Category pageThe top-level directory name
Tag pagesThe tags list in the frontmatter
Table of contentsThe ## and ### headings in the note
Search resultThe title, description, tags and full text
Previous / next linksThe position of the note in the sidebar
Reading timeThe word count of the note

Keyboard shortcuts

  • Ctrl + K — or + K on macOS — opens search
  • and move through results
  • Enter opens the highlighted result
  • Esc closes the dialog

Checklist for a good note

  • A title that you would actually search for
  • A one line description
  • Tags, so it shows up next to related notes
  • A fenced code block with a language, for example ```bash
Note

Notes without a language on the code fence still get highlighted: the language is inferred from the contents. Adding it explicitly is always more accurate.

Read Writing Notes for the full frontmatter reference.

content/general/welcome.md