github zk-org/zk v0.7.0
0.7.0

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

Added

  • List the tags found in your notebook with zk tag list.
    • Many options are available to customize the output, including JSON serialization. See zk tag list --help.
  • Support for LSP references to browse the backlinks of the current note, if the caret is not over a link.
  • New template variables are available when generating custom Markdown links with link-format.
    • filename, path, abs-path and rel-path for many path flavors.
    • metadata to use information (e.g. id) from the YAML frontmatter.
  • The LSP server is now matching wiki links to any part of a note's path or its title.
    • Given the note book/z5mj Information Graphics.md with the title "Book Review of Information Graphics", the following wiki links would work from a note located under journal/2020-09-25.md:
      [[../book/z5mj]]
      [[book/z5mj]]
      [[z5mj]]
      [[book review information]]
      [[Information Graphics]]
  • Use the {{abs-path}} template variable when formatting notes to print the absolute path to the note (contributed by @pstuifzand).
  • A new {{substring s index length}} template helper extracts a portion of a given string, e.g.:
    • {{substring 'A full quote' 2 4}} outputs full
    • {{substring 'A full quote' -5 5} outputs quote

Fixed

  • UTF-8 handling in the LSP server.
  • #78 Do not exclude notes containing broken links from the index.
  • Allow setting the --working-dir and --notebook-dir flags before the zk subcommand when using aliases, e.g. zk -W ~/notes my-alias.
  • #86 Index encoded Markdown links.

Don't miss a new zk release

NewReleases is sending notifications on new releases.