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.)

@juliobiason something like this should do it:

emacs --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 #emacs and @emacs in case someone has something to add …

Sign in to participate in the conversation
Functional Café

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!