mirror of https://github.com/mickael-menu/zk
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
504 B
Plaintext
16 lines
504 B
Plaintext
3 years ago
|
$ cd blank
|
||
|
|
||
|
$ echo "[note]\n filename = '\{{slug title}} - \{{date now \"%B\"}}'" > .zk/config.toml
|
||
|
|
||
|
# The default language is `en`.
|
||
|
# Note the & converted to `and` in the slug.
|
||
|
$ zk new --title "Foo \& Bar" --date "January 2nd" --dry-run
|
||
|
2>{{working-dir}}/foo-and-bar - January.md
|
||
|
|
||
|
# Set a custom language.
|
||
|
# Note the & converted to `et` in the slug.
|
||
|
$ echo "language = 'fr'" >> .zk/config.toml
|
||
|
$ zk new --title "Ceci \& cela" --date "January 2nd" --dry-run
|
||
|
2>{{working-dir}}/ceci-et-cela - January.md
|
||
|
|