Skip to content

Metadata

pkm reads YAML frontmatter at the top of Markdown files.

FieldTypePurpose
titlestringHuman note title
aliaseslistAlternate names for link resolution
tagslistFiltering, search, and heat scoring
typestringRegistered note type
createddateCreation date
modifieddateLast modified date
relatedlistManual related links

Any top-level field can be used as type-specific metadata.

---
title: DAG: user_events_daily
type: dag
tags:
- dag
- airflow
schedule: daily
retry: "3"
owner: data-platform
---

Custom fields are indexed into SQLite metadata for future querying and tooling.

pkm still indexes plain Markdown notes. The title is derived from the first H1 or filename stem.