mirror of
https://github.com/org-roam/org-roam
synced 2025-09-08 15:23:30 -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.
18 KiB
18 KiB