2015-12-02 14:23:39 +00:00
|
|
|
#+TITLE: Pandoc layer
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2019-05-02 21:49:30 +00:00
|
|
|
#+TAGS: layer|tool
|
|
|
|
|
2019-05-07 20:05:06 +00:00
|
|
|
* Table of Contents :TOC_5_gh:noexport:
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#description][Description]]
|
2017-11-30 20:05:07 +00:00
|
|
|
- [[#features][Features:]]
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#install][Install]]
|
|
|
|
- [[#layer][Layer]]
|
|
|
|
- [[#pandoc][Pandoc]]
|
|
|
|
- [[#usage][Usage]]
|
2018-12-05 03:03:03 +00:00
|
|
|
- [[#key-bindings][Key bindings]]
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Description
|
2017-04-25 15:42:58 +00:00
|
|
|
This layer adds support for [[http://pandoc.org/][Pandoc]].
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2017-11-30 20:05:07 +00:00
|
|
|
** Features:
|
|
|
|
- Mode independent document conversions via =global pandoc menu=
|
|
|
|
- =Org-export= integration via [[https://github.com/kawabata/ox-pandoc][ox-pandoc]]
|
2015-09-07 05:05:44 +00:00
|
|
|
|
2015-06-10 16:44:30 +00:00
|
|
|
* Install
|
|
|
|
** Layer
|
2016-01-06 05:21:55 +00:00
|
|
|
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
|
|
|
add =pandoc= to the existing =dotspacemacs-configuration-layers= list in this
|
|
|
|
file.
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
** Pandoc
|
|
|
|
To use the mode please [[http://pandoc.org/installing.html][install]] pandoc first.
|
|
|
|
|
|
|
|
* Usage
|
2017-04-25 15:42:58 +00:00
|
|
|
For a full list of possible conversions see the [[http://pandoc.org/][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
|
2017-04-25 15:42:58 +00:00
|
|
|
[[http://joostkremers.github.io/pandoc-mode/][Pandoc-mode website]].
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
* Key bindings
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
| Key binding | Description |
|
2015-06-10 16:44:30 +00:00
|
|
|
|-------------+---------------------------------|
|
|
|
|
| ~SPC P /~ | Start pandoc-mode and open menu |
|