2015-06-10 16:44:30 +00:00
|
|
|
#+TITLE: Pandoc contribution layer for Spacemacs
|
2015-11-08 18:04:44 +00:00
|
|
|
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../../../css/readtheorg.css" />
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2015-10-30 11:20:58 +00:00
|
|
|
* Table of Contents :TOC_4_org:noexport:
|
|
|
|
- [[Description][Description]]
|
|
|
|
- [[Install][Install]]
|
|
|
|
- [[Layer][Layer]]
|
|
|
|
- [[Pandoc][Pandoc]]
|
|
|
|
- [[Usage][Usage]]
|
|
|
|
- [[Key Bindings][Key Bindings]]
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Description
|
|
|
|
|
|
|
|
This layer adds support for [[http://johnmacfarlane.net/pandoc][Pandoc]].
|
|
|
|
|
|
|
|
Pandoc is a universal document converter. It makes it easy to e.g. convert a
|
|
|
|
Markdown file to org mode or vice versa. It can also export your text to PDF or
|
|
|
|
DOCX.
|
|
|
|
|
2015-09-07 05:05:44 +00:00
|
|
|
This layer automatically install an org exporter using the [[https://github.com/kawabata/ox-pandoc][ox-pandoc]].
|
|
|
|
|
2015-06-10 16:44:30 +00:00
|
|
|
* Install
|
|
|
|
|
|
|
|
** Layer
|
|
|
|
|
|
|
|
To use this contribution add it to your =~/.spacemacs=
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(setq-default dotspacemacs-configuration-layers '(pandoc))
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
** Pandoc
|
|
|
|
|
|
|
|
To use the mode please [[http://pandoc.org/installing.html][install]] pandoc first.
|
|
|
|
|
|
|
|
* Usage
|
|
|
|
|
2015-06-10 21:16:01 +00:00
|
|
|
For a full list of possible conversions see the [[http://johnmacfarlane.net/pandoc][Pandoc documentation]].
|
2015-06-10 16:44:30 +00:00
|
|
|
An explanation of all the options offered by =pandoc-mode= can be found at the
|
|
|
|
[[http://joostkremers.github.io/pandoc-mode][Pandoc-mode website]].
|
|
|
|
|
|
|
|
* Key Bindings
|
|
|
|
|
|
|
|
| Key Binding | Description |
|
|
|
|
|-------------+---------------------------------|
|
|
|
|
| ~SPC P /~ | Start pandoc-mode and open menu |
|