Added
- Use JSON formats with
zk list
for easy post-processing:--format json
prints a plain JSON array.--format jsonl
prints one JSON note object per line, according to JSON Lines.
- The new
{{json}}
template helper serializes any template context variable into a valid JSON value, e.g.:{{json title}}
prints with quotes"An interesting note"
{{json .}}
serializes the full template context as a JSON object.
- Use
--header
and--footer
options withzk list
to print arbitrary text at the start or end of the list. - Support for LSP references to browse the backlinks of the link under the caret (contributed by @pstuifzand).
- New
note.ignore
configuration option to ignore files matching the given path globs when indexing notes.[note] ignore = [ "log-*.md" "drafts/*" ]
Fixed
- #16 Links with section anchors, e.g.
[[filename#section]]
. - Unicode support in wiki links. If you use accents or ideograms, please run
zk index --force
after upgrading to fix your index.