Commit Graph

11 Commits (9a93b0aabbca2eb1633e29d5daf7d3558f14c2e8)

Author SHA1 Message Date
Mickaël Menu 9a93b0aabb
Release zk 0.2.0 3 years ago
Mickaël Menu 314024eae0
Add the --mention filtering option (#8) 3 years ago
Mickaël Menu 202ea62322
Use the YAML frontmatter key `date` for the note creation date, when provided 3 years ago
Mickaël Menu 36365c68fb
Expose environment variables to note templates with the new {{env}} variable 3 years ago
Mickaël Menu 9fda155a99
Add a [format.markdown] config section to customize tags syntax 3 years ago
Mickaël Menu f5b3102deb
Save additional metadata in the database (#7)
* YAML frontmatter as a JSON object in `notes.metadata`
    * Print metadata from the YAML frontmatter in `list` output using `{{metadata.<key>}}`, e.g. `{{metadata.description}}`. Keys are normalized to lower case.
* Start and end offsets for link snippets.
    * This could be useful to expand backlinks contexts.
3 years ago
Mickaël Menu bae1fab567
Exclude a tag with the --tag filtering option 3 years ago
Mickaël Menu f1391b5a63
Rename --linking-to filtering option to --link-to 3 years ago
Mickaël Menu 08cc4a3c3f
Filter notes by tags (#6)
Filter notes by their tags using `--tag "history, europe"`. To match notes associated with either tags, use a pipe `|` or `OR` (all caps), e.g. `--tag "inbox OR todo"`.
3 years ago
Mickaël Menu 7dc3120d3a
Separate multiple --extra variables with , instead of ; 3 years ago
Mickaël Menu 4bf660f934
Parse tags in Markdown documents (#5)
Many tag flavors are supported: `#hashtags`, `:colon:separated:tags:` and even Bear's [`#multi-word tags#`](https://blog.bear.app/2017/11/bear-tips-how-to-create-multi-word-tags/). If you prefer to use a YAML frontmatter, list your tags with the keys `tags` or `keywords`.
3 years ago