pelican-mode is an Emacs minor mode for editing pages and posts in [Pelican][] sites. It's intended to be used alongside [markdown-mode][] or [rst-mode][]. It also assumes you've set up Pelican with `pelican-quickstart` or something like it. In particular it assumes: * The existence of `pelicanconf.py` and `Makefile` in some ancestor directory. * The first component of the path (e.g. `content`) after that ancestor is irrelevant. * If the next component is `pages`, that indicates a static page rather than a dated post. ## Quick Guide * `C-c P n` - Insert a post or page header * `C-c P p` - Remove draft status from a post (i.e. publish it) * `C-c P t` - Update the date field in a post/page header * `C-c P h` - Generate HTML output for a site (equivalent to `make html`) * `C-c P u` - Upload a site using rsync (equivalent to `make rsync_upload`) ## Troubleshooting If the commands which invoke `make` can find the Makefile but can't find `pelican`, your `exec-path` may not be set right. Try out [exec-path-from-shell][]. ## License This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. [Pelican]: http://getpelican.com/ [markdown-mode]: http://jblevins.org/projects/markdown-mode/ [rst-mode]: http://docutils.sourceforge.net/docs/user/emacs.html [exec-path-from-shell]: https://github.com/purcell/exec-path-from-shell