diff options
| author | winter Sparkles | 2026-08-04 19:18:37 +0100 |
|---|---|---|
| committer | winter Sparkles | 2026-08-04 19:18:37 +0100 |
| commit | 3c37b1b00f9d345ad1d036c8ef6a04cf633d3f5f (patch) | |
| tree | 1cc1c64170e6e53c5ccd7615906f94c237ebf80a /batch-export | |
initial commit
Diffstat (limited to 'batch-export')
| -rwxr-xr-x | batch-export | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/batch-export b/batch-export new file mode 100755 index 0000000..8a617c9 --- /dev/null +++ b/batch-export @@ -0,0 +1,11 @@ +#!/bin/sh +# Export files with Org mode +# +emacs -q --batch --eval " + (progn + (require 'ox-html) + (setq org-html-htmlize-output-type 'css) + (dolist (file command-line-args-left) + (with-current-buffer (find-file-noselect file) + (org-html-export-to-html)))) + " "$@" |
