summaryrefslogtreecommitdiff
path: root/README.md
blob: 866963c5c91acd19d05edcbe0aee1696adc1d303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# ox-haunt

This library implements an HTML back-end for the Org generic exporter, producing
output appropriate for [Haunt's](https://dthompson.us/projects/haunt.html)
`html-reader`.

To use this exporter, add the following to your Emacs configuration:

```elisp
(with-eval-after-load 'ox
  (require 'ox-haunt))
```

As of version 0.1, only one workflow is supported. The "haunt base directory" is
set by adding `#+HAUNT_BASE_DIR`, followed by the path, to your document, or by
setting `ox-haunt-base-dir`. When the base directory is set, `C-c C-e s h` will
export the Org buffer to a file in the 'posts/' subdirectory of the haunt base
directory.