You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]].
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.
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 run zk 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 in ZK_NOTEBOOK_DIR but print paths relative to the current directory, making them actionable from your terminal emulator.