1 2 3 4 5 6 7
(require 'org) (require 'ox-html) (with-temp-buffer (condition-case nil (while t (insert (read-from-minibuffer "") "\n")) (error)) (princ (org-export-as 'html nil nil nil)))