From 3c37b1b00f9d345ad1d036c8ef6a04cf633d3f5f Mon Sep 17 00:00:00 2001 From: winter Sparkles Date: Tue, 4 Aug 2026 19:18:37 +0100 Subject: initial commit --- batch-export | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 batch-export (limited to 'batch-export') 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)))) + " "$@" -- cgit v1.3