To enable by default on all text files in a Pelican site:
-``` emacs-lisp
-(require 'pelican-mode)
-(pelican-global-mode)
-```
+ (require 'pelican-mode)
+ (pelican-global-mode)
Or with `use-package` and deferred loading:
-``` emacs-lisp
-(use-package pelican-mode
- :after (:any org rst markdown-mode adoc-mode)
- :config
- (pelican-global-mode))
-```
+ (use-package pelican-mode
+ :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.