Function: org-roam-preview-get-contents

org-roam-preview-get-contents is a byte-compiled function defined in org-roam-mode.el.

Signature

(org-roam-preview-get-contents FILE PT)

Documentation

Get preview content for FILE at PT.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-mode.el
(defun org-roam-preview-get-contents (file pt)
  "Get preview content for FILE at PT."
  (save-excursion
    (org-roam-with-temp-buffer file
      (org-with-wide-buffer
       (goto-char pt)
       (let ((s (funcall org-roam-preview-function)))
         (dolist (fn org-roam-preview-postprocess-functions)
           (setq s (funcall fn s)))
         s)))))