summaryrefslogtreecommitdiff
path: root/bin/org2html.el
diff options
context:
space:
mode:
Diffstat (limited to 'bin/org2html.el')
-rw-r--r--bin/org2html.el7
1 files changed, 7 insertions, 0 deletions
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 @@
1(require 'org)
2(require 'ox-html)
3
4(with-temp-buffer
5 (condition-case nil (while t (insert (read-from-minibuffer "") "\n"))
6 (error))
7 (princ (org-export-as 'html nil nil nil)))