From ebca2cc7647cee2deb270e89d031f51f8f5bdce2 Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Sat, 20 Jul 2019 19:19:35 -0400 Subject: Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 3efd450..866963c 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,16 @@ 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. -- cgit v1.3