zk/tests/config-note-default-title.tesh

14 lines
295 B
Plaintext
Raw Normal View History

2022-01-10 13:28:14 +00:00
$ 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