feat(notetaking): anki integration

This commit is contained in:
Tibo De Peuter 2026-06-20 19:58:49 +02:00
parent d9babbd49a
commit f6ec07f646
No known key found for this signature in database
GPG key ID: 9187B5FA0F4B6F6D
4 changed files with 131 additions and 44 deletions

View file

@ -114,22 +114,7 @@
(pdf-loader-install)
)
(use-package org-preview-html ;; https://github.com/jakebox/org-preview-html
:ensure t
:bind (:map org-mode-map ("C-c p" . org-preview-html-mode))
:custom
(org-preview-html-viewer 'eww) ;; Use built-in EWW browser
(org-preview-html-refresh-configuration 'save)
(add-hook 'eww-mode-hook (lambda () (display-line-numbers-mode -1)))
;; Pin the preview window layout to the right
(add-to-list 'display-buffer-alist
'("\\*eww\\*"
(display-buffer-in-direction)
(direction . right)
(window-width . 0.5)
)
)
)
;; Theming
(use-package olivetti
:ensure t
@ -169,8 +154,6 @@
;; TODO Automatically save buffer when going to other file -- maybe interactively?
;; TODO Spellchecking (UK & Dutch)
;; TODO Some automation to create anki cards intext without having to write the boilerplate
;; TODO Finally, compare experience to organice https://organice.200ok.ch/
;; TODO org-compile-file: File "/tmp/nix-shell.UEk6Ye/orgtexcJso3E.dvi" wasnt produced Please adjust dvipng part of org-preview-latex-process-alist.