Emacsers, is there something that one could use to automate the export of Org notes to HTML, without having to go through Emacs interface (being able to run from the command line without interacting with the editor is fine)?

(Pandoc converts the Org tags to HTML tags, but ignores everything else, like HTML preambles, stylesheets, etc.)

Follow

@juliobiason something like this should do it:

emacs bla.org --batch -f org-html-export-to-html --kill

You may need to explicitly load your init file with -l before the -f if you have relevant settings there.

Pinging and @emacs in case someone has something to add …

· · Web · 0 · 2 · 3
Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko