thorne <ego...@gmail.com> writes: > (defun render-one (file) > (with-temp-buffer > (insert-file file) > (org-export-as-html nil nil nil 'string t)))
Try (defun render-one (file) (with-temp-buffer (insert-file file) (org-mode) (org-export-as-html nil nil nil 'string t))) (org-mode) is important here. -- Bastien