diff options
| author | 2026-02-11 04:35:36 +0000 | |
|---|---|---|
| committer | 2026-02-11 04:47:51 +0000 | |
| commit | b4a99a8123e953504160a78466a5cc27c8bb066f (patch) | |
| tree | 41b6c5a8f36c73adbe2f13016e40fe153be4c252 /bin/org2html.el | |
| parent | add po4a.cfg (diff) | |
| download | michalec-dev-b4a99a8123e953504160a78466a5cc27c8bb066f.tar.gz | |
add scripts
Diffstat (limited to 'bin/org2html.el')
| -rw-r--r-- | bin/org2html.el | 7 |
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))) | ||
