mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
This commit adds 3 custom variables: 1. org-roam-buffer-postrender-functions This list of functions are run within the Org-roam buffer after the Org-roam buffer is rendered. For example, one can produce latex previews for all content within the Org-roam buffer: (add-hook 'org-roam-buffer-postrender-functions (lambda () (org--latex-preview-region (point-min) (point-max)))) 2. org-roam-preview-function This is the function used to extract the content to populate the buffer. It defaults to `org-roam-preview-default-function`, which extracts all contents within the headline up to the next headline. 3. org-roam-preview-postprocess-functions This is a list of functions run to post-process the content retrieved from org-roam-preview-function. It can be used to strip additional content from the buffer, or perform sentence-unwrapping.
14 lines
632 B
EmacsLisp
14 lines
632 B
EmacsLisp
((emacs-lisp-mode
|
|
(fill-column . 110)
|
|
(indent-tabs-mode . nil)
|
|
(elisp-lint-ignored-validators . ("byte-compile" "package-lint"))
|
|
(elisp-lint-indent-specs . ((describe . 1)
|
|
(it . 1)
|
|
(org-element-map . defun)
|
|
(org-roam-dolist-with-progress . 2)
|
|
(org-roam-with-temp-buffer . 1)
|
|
(org-with-point-at . 1)
|
|
(magit-insert-section . defun)
|
|
(magit-section-case . 0)
|
|
(org-roam-with-file . 2)))))
|