Stig Brautaset <[email protected]> writes:

> ...
> Adding a ~--batch~ flag to the command makes the command run on
> CircleCI, but I get a less colourful (and less pleasing) result. The
> markup appears to only use /italic/ and *bold* styles now.
>

--batch skips your initialization file. You will have to provide a minimal
load file that does the initializations you need and then use -l to load it:

--8<---------------cut here---------------start------------->8---
emacs --batch -l my-init-file.el --file foo.org \
      --eval '(progn (package-initialize) (org-html-export-to-html nil nil nil 
t) (kill-emacs))'
--8<---------------cut here---------------end--------------->8---

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler


Reply via email to