about summary refs log tree commit diff
path: root/config/zk
diff options
context:
space:
mode:
Diffstat (limited to 'config/zk')
-rw-r--r--config/zk/config.toml34
-rw-r--r--config/zk/templates/daily.md9
-rw-r--r--config/zk/templates/note.md6
3 files changed, 49 insertions, 0 deletions
diff --git a/config/zk/config.toml b/config/zk/config.toml
new file mode 100644
index 0000000..6605d1d
--- /dev/null
+++ b/config/zk/config.toml
@@ -0,0 +1,34 @@
+[notebook]
+dir = "~/Documents/Notes"
+
+[note]
+filename = "{{slug title}}"
+template = "note.md"
+
+[extra]
+author = "Venomade"
+
+[format.markdown]
+link-format = "wiki"
+hashtags = true
+colon-tags = false
+multiword-tags = true
+
+[tool]
+editor = "/home/venomade/.nix-profile/bin/emacs"
+shell = "/home/venomade/.nix-profile/bin/zsh"
+fzf-preview = "bat -p --color always {-1}"
+
+[lsp]
+[lsp.diagnostics]
+wiki-title = "hint"
+dead-link = "error"
+missing-backlink = { level = "warning", position = "bottom" }
+
+[group.diario]
+paths = ["Diario"]
+
+[group.diario.note]
+filename = "{{format-date now '%Y-%m-%d'}}"
+extension = "md"
+template = "daily.md"
diff --git a/config/zk/templates/daily.md b/config/zk/templates/daily.md
new file mode 100644
index 0000000..cb128bd
--- /dev/null
+++ b/config/zk/templates/daily.md
@@ -0,0 +1,9 @@
+---
+title: Entrada do Diário - {{format-date now '%Y-%m-%d'}}
+tags: [diario, {{format-date now '%B'}}, {{format-date now 'year'}}]
+---
+<!--
+
+# Entrada do Diário - {{format-date now '%Y-%m-%d'}}
+
+{{content}}
diff --git a/config/zk/templates/note.md b/config/zk/templates/note.md
new file mode 100644
index 0000000..be4c1d2
--- /dev/null
+++ b/config/zk/templates/note.md
@@ -0,0 +1,6 @@
+---
+title: {{title}}
+tags: []
+---
+
+{{content}}