feat(tazjin/emacs): Configure zetteldeft for Markdown

Change-Id: Ib652374d42b6f701a7371325355871f8cc5325f9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5650
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-05-23 19:49:31 +02:00 committed by clbot
parent 1bdf44c61f
commit c55f61cd9b

View file

@ -242,6 +242,21 @@
:custom
(passively-store-state "/persist/tazjin/known-russian-words.el"))
;; Note taking configuration for deft.
(use-package deft
:custom
(deft-directory "/persist/tazjin/deft/")
(deft-extensions '("md" "org" "txt"))
(deft-default-extension "md"))
(use-package zetteldeft
:custom
;; Configure for Markdown
(zetteldeft-link-indicator "[[")
(zetteldeft-link-suffix "]]")
(zetteldeft-title-prefix "# ")
(zetteldeft-list-prefix "* "))
;; Initialise midnight.el, which by default automatically cleans up
;; unused buffers at midnight.
(require 'midnight)