clean up formatting of zk entries

This commit is contained in:
Matthew Ryan Dillon 2025-04-13 15:49:23 -04:00
parent 1b094d08b5
commit b9ec7138c5
2 changed files with 6 additions and 4 deletions

View file

@ -4,7 +4,7 @@ dir = "~/notebook"
[note] [note]
language = "en" language = "en"
default-title = "untitled" default-title = "untitled"
filename = "{{id}}-{{slug title}}" filename = "{{format-date now 'timestamp'}}-{{id}}"
extension = "md" extension = "md"
template = "default.md" template = "default.md"
id-charset = "alphanum" id-charset = "alphanum"
@ -32,4 +32,4 @@ diff = 'jj diff'
daily = 'zk new --no-input "$ZK_NOTEBOOK_DIR/journal/daily"' daily = 'zk new --no-input "$ZK_NOTEBOOK_DIR/journal/daily"'
[tool] [tool]
editor = "hx --hsplit journal/tasks.xit" editor = "hx"

View file

@ -1,5 +1,7 @@
---
created: {{ format-date now "%Y-%m-%dT%H:%M" }}
---
# {{ title }} # {{ title }}
{{ format-date now }}
{{ content }} {{ content }}