Added
- Interactive wizard for the
zk init
command. - An experimental Language Server for LSP-compatible editors:
- Auto-complete Markdown links with
[[
(setup wiki-links in the note formats configuration) - Auto-complete hashtags and colon-separated tags.
- Preview the content of a note when hovering a link.
- Navigate in your notes by following internal links.
- And more to come...
- See the documentation for configuration samples.
- Auto-complete Markdown links with
- Pair
--match
with--exact-match
/-e
to search for (case insensitive) exact occurrences in your notes.- This can be useful when looking for terms including special characters, such as
[[name]]
.
- This can be useful when looking for terms including special characters, such as
- Generating links to notes.
- Use the
{{link}}
template variable when formatting notes to print a link to the note, relative to the working directory. - Use the
{{format-link path title}}
template helper to render a custom link. - Customize the link format from the note formats settings. You can for example choose regular Markdown links, Wiki-links or a custom format.
- Use the
Changed
- The local configuration file (
.zk/config.toml
) is not required anymore in a notebook's.zk
directory. --notebook-dir
does not change the working directory anymore, instead it sets manually the current notebook and disable auto-discovery. Use the new--working-dir
/-W
flag to runzk
as if it was started from this path instead of the current working directory.- For convenience,
ZK_NOTEBOOK_DIR
behaves like setting a--working-dir
fallback, instead of--notebook-dir
. This way, paths will be relative to the root of the notebook. - A practical use case is to use
zk list -W .
when outside a notebook. This will list the notes inZK_NOTEBOOK_DIR
but print paths relative to the current directory, making them actionable from your terminal emulator.
- For convenience,