You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
850 B

4 years ago
* PlumHTML
org-export backend for sane HTML. Basically some changes and
extensions (currently just tables) to [[https://github.com/balddotcat/ox-slimhtml][ox-slimhtml]].
Used to publish words I write.
** Installation
You want to clone the repo into somewhere like
=~/.emacs.d/elpa/plumhtml-1.0.0/= then do ~M-x package-install-file
ox-plumhtml.el~
** Functions
- ~ox-plumhtml-export-as-html~
Makes a temporary buffer with the exported HTML.
- ~ox-plumhtml-export-to-html~
Like ~ox-plumhtml-export-as-html~ but dumps the exported HTML to a
file like =example.org= -> =example.html=
- ~ox-plumhtml-publish-to-html~
Same as ~ox-plumhtml-export-as-html~ but for ~org-publish~
** Tests
I stole them from =ox-slimhtml= lole
#+BEGIN_EXAMPLE
emacs -batch \
-l ert \
-l ox-plumhtml-tests.el \
-f ert-run-tests-batch-and-exit
#+END_EXAMPLE