Metadata
pkm reads YAML frontmatter at the top of Markdown files.
Common Fields
Section titled “Common Fields”| Field | Type | Purpose |
|---|---|---|
title | string | Human note title |
aliases | list | Alternate names for link resolution |
tags | list | Filtering, search, and heat scoring |
type | string | Registered note type |
created | date | Creation date |
modified | date | Last modified date |
related | list | Manual related links |
Custom Fields
Section titled “Custom Fields”Any top-level field can be used as type-specific metadata.
---title: DAG: user_events_dailytype: dagtags: - dag - airflowschedule: dailyretry: "3"owner: data-platform---Custom fields are indexed into SQLite metadata for future querying and tooling.
Notes Without Frontmatter
Section titled “Notes Without Frontmatter”pkm still indexes plain Markdown notes. The title is derived from the first H1 or filename stem.