zk/tests/config-note-default-title.tesh
2022-01-10 14:28:14 +01:00

14 lines
295 B
Plaintext

$ cd blank
$ echo "[note]\n filename = '\{{title}}'" > .zk/config.toml
# The default title is Untitled.
$ zk new --dry-run
2>{{working-dir}}/Untitled.md
# Set a custom default title.
$ echo "default-title = 'Sans titre'" >> .zk/config.toml
$ zk new --dry-run
2>{{working-dir}}/Sans titre.md