descriptionpelican-mode is an Emacs minor mode for editing articles and pages in Pelican sites.
ownerJoe Wreschnig
last changeMon, 4 Jun 2018 22:07:22 +0000 (00:07 +0200)
readme

pelican-mode is an Emacs minor mode for editing articles and pages in Pelican sites.

It's intended to be used alongside a major mode for the Pelican document. Currently supported formats are Markdown, reStructuredText, AsciiDoc, and Org. It also assumes you've set up Pelican with pelican-quickstart or something like it. In particular it expects:

Quick Guide

To enable by default on all text files in a Pelican site:

(require 'pelican-mode)
(pelican-global-mode)

Or with use-package and deferred loading:

(use-package pelican-mode
  :demand :after (:any org rst markdown-mode adoc-mode)
  :config
  (pelican-global-mode))

Or, register pelican-mode or pelican-mode-enable-if-site as hook functions for more direct control.

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.

shortlog
2018-06-04 Joe WreschnigNew stable release for Emacs 26.1 compatibility master
2018-04-01 Joe WreschnigRemove use of ‘if-let’ for Emacs 26+ compatibility
2018-02-17 Joe WreschnigRemove macOS build workaround.
2018-02-17 Joe WreschnigUpdate ‘use-package’ example for current ‘:after’ behavior.
2017-10-01 Joe WreschnigChange the default command prefix to “C-c =”.
2017-10-01 Joe WreschnigRemove file-local variable (I now use a mode-local...
2017-09-17 Joe WreschnigModernize quoting.
2017-08-19 Joe WreschnigUse GFM, as git.korewanetadesu.com now supports it.
2017-08-18 Joe WreschnigAvoid GFM until GitWeb on git.korewanetadesu.com suppor...
2017-08-18 Joe WreschnigProvide an example `use-package’ declaration.
2017-08-08 Joe WreschnigCustomization groups should not end in “-mode.” v20170808
2017-08-08 Joe WreschnigUse `define-globalized-minor-mode’ rather than manual...
2017-08-08 Joe WreschnigMissed one during s/post/article/.
2017-08-08 Joe WreschnigUse a customizable prefix rather than hardcoding C...
2017-08-07 Joe WreschnigAdd URL. v20170807
2017-08-07 Joe WreschnigVersion bump.
...
tags
17 months ago v20170808
17 months ago v20170807
heads
7 months ago master