Library Structure
library root/├── Inbox/├── Notes/├── MOCs/└── .pkm/ ├── types/ │ ├── note.md │ ├── moc.md │ └── fleeting.md ├── types.json └── .index/ └── pkm.dbUser-Visible Folders
Section titled “User-Visible Folders”| Folder | Purpose |
|---|---|
Inbox/ | Quick captures and fleeting notes |
Notes/ | Default permanent notes |
MOCs/ | Maps of Content |
Custom types can write to any relative directory inside the library.
Hidden Internals
Section titled “Hidden Internals”| Path | Purpose |
|---|---|
.pkm/types/ | Registered Markdown templates |
.pkm/types.json | Type registry |
.pkm/.index/pkm.db | Rebuildable SQLite index |
Ignore The Index
Section titled “Ignore The Index”.pkm/.index/ should be ignored in git. It is derived from Markdown files.