descriptionpelican-mode is an Emacs minor mode for editing articles and pages in Pelican sites.
ownerJoe Wreschnig
last changeSat, 26 Jan 2019 09:00:05 +0000 (10:00 +0100)
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
2019-01-26 Joe WreschnigAdd CI integration for GitLab master
2019-01-24 Joe WreschnigAdd ‘pelican-make-github’ (`C-c = g`) to run `make...
2018-06-04 Joe WreschnigNew stable release for Emacs 26.1 compatibility
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...
...
tags
7 years ago v20170808
7 years ago v20170807
heads
5 years ago master