Types & Templates
Types give notes a repeatable structure. A type maps a name to a directory and a template.
Default Types
Section titled “Default Types”| Type | Directory | Template |
|---|---|---|
note | Notes/ | .pkm/types/note.md |
moc | MOCs/ | .pkm/types/moc.md |
fleeting | Inbox/ | .pkm/types/fleeting.md |
Template Example
Section titled “Template Example”---type: dagschedule: ""retry: ""---
# {title}
## What
## How
## Why
## See AlsoRegister it:
pkm type add dag --template dag-template.md --dir Notes/DAGs --scope globalUse it:
pkm save --type dag --title "DAG: user_events_daily" --tags dag,airflowResolution Order
Section titled “Resolution Order”When saving a project note, pkm checks project types first and then falls back to global types. Project types override global types with the same name.