From b4a99a8123e953504160a78466a5cc27c8bb066f Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Wed, 11 Feb 2026 07:35:36 +0300 Subject: add scripts --- bin/org2html.el | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bin/org2html.el (limited to 'bin/org2html.el') diff --git a/bin/org2html.el b/bin/org2html.el new file mode 100644 index 0000000..7d5b80b --- /dev/null +++ b/bin/org2html.el @@ -0,0 +1,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))) -- cgit v1.3