github zk-org/zk v0.4.0
0.4.0

latest releases: v0.14.1, v0.14.0, v0.13.0...
3 years ago

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.
  • 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.

Don't miss a new zk release

NewReleases is sending notifications on new releases.