2016-10-31 13:01:01 +00:00
|
|
|
[![MELPA](http://melpa.org/packages/ox-gfm-badge.svg)](http://melpa.org/#/ox-gfm)
|
|
|
|
# Github Flavored Markdown exporter for Org Mode
|
2014-10-30 09:32:37 +00:00
|
|
|
|
|
|
|
This is a small exporter based on the Markdown exporter already existing in
|
2014-10-30 09:39:53 +00:00
|
|
|
Org mode. It should support the features [listed here](https://help.github.com/articles/github-flavored-markdown/).
|
2014-10-30 09:32:37 +00:00
|
|
|
|
2016-10-31 13:01:01 +00:00
|
|
|
## Installation
|
2014-10-30 09:32:37 +00:00
|
|
|
|
2016-10-31 13:01:01 +00:00
|
|
|
You can install `ox-gfm` using elpa. It's available on [melpa](http://melpa.org/#/ox-gfm):
|
2014-10-30 09:32:37 +00:00
|
|
|
|
2016-10-31 13:01:01 +00:00
|
|
|
<kbd> M-x package-install ox-gfm </kbd>
|
2017-02-14 01:03:40 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2017-02-15 21:46:50 +00:00
|
|
|
This package adds an Org mode export backend for GitHub Flavored Markdown. You
|
|
|
|
can read more about [Org mode exporting here.](http://orgmode.org/manual/Exporting.html)
|
2017-02-14 01:03:40 +00:00
|
|
|
|
2017-02-15 21:46:50 +00:00
|
|
|
Exporting to Github Flavored Markdown is available through Org
|
|
|
|
mode's [export dispatcher](http://orgmode.org/manual/The-export-dispatcher.html#The-export-dispatcher)
|
|
|
|
once `ox-gfm` is loaded. Alternatively, exporting can be triggered by calling the
|
|
|
|
(autoloaded) function `M-x org-gfm-export-to-markdown`.
|
2017-02-14 01:03:40 +00:00
|
|
|
|
2017-02-15 21:46:50 +00:00
|
|
|
If you want to automatically load `ox-gfm` along with Org mode, then you can
|
|
|
|
add this snippet to your Emacs configuration:
|
2017-02-14 01:03:40 +00:00
|
|
|
|
|
|
|
```emacs-lisp
|
|
|
|
(eval-after-load "org"
|
|
|
|
'(require 'ox-gfm nil t))
|
|
|
|
```
|