Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.zk.enable

Whether to enable zk.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.zk.package

The zk package to use.

Type: null or package

Default:

pkgs.zk

Declared by:

programs.zk.exportNotebookDir

Whether to export ZK_NOTEBOOK_DIR from programs.zk.settings.notebook.dir.

zk reads the default notebook from its configuration file, so this is only needed for programs that read the environment variable directly, such as editor plugins started outside a notebook directory.

Type: boolean

Default:

false

Declared by:

programs.zk.settings

Configuration written to $XDG_CONFIG_HOME/zk/config.toml.

See https://zk-org.github.io/zk/config/config.html for available options and documentation.

Type: TOML value

Default:

{ }

Example:

{
  extra = {
    author = "Mickaël";
  };
  note = {
    default-title = "Untitled";
    extension = "md";
    filename = "{{id}}-{{slug title}}";
    id-case = "lower";
    id-charset = "alphanum";
    id-length = 4;
    language = "en";
    template = "default.md";
  };
}

Declared by: