Emacs packages to work with Markdown and Jekyll.

Table of Contents

Emacs packages installation

Adding melpa repository of packages in .emacs

(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))

Get the list of available packages for install:

M-x packages-list-packages

Paradox list packages

Paradox is a modern Packages Menu. Colored, with package ratings, and customizable.

To get the list of available packages with paradox:

M-x paradox-list-packages

Inside paradox list, to sort packages by rating, type: S*

markdown-mode – Major mode for Markdown-formatted text

Major mode for editing Markdown files.

You can get the key bindings and functions of the markdown-mode in the usual way inside emacs, with the function M-x describe-mode

For reference, here is the output key binding from M-x describe-mode

key             binding
---             -------

C-c             Prefix Command
TAB             markdown-cycle               cycle visibility of headers
RET             markdown-enter-key           new line and indent
ESC             Prefix Command
DEL             markdown-exdent-or-delete
<M-S-down>      markdown-move-subtree-down   Move the current subtree of ATX headings down
<M-S-left>      markdown-promote-subtree     Promote all headers in subtree
<M-S-right>     markdown-demote-subtree      Demote all headers in subtree
<M-S-up>        markdown-move-subtree-up     Move entire subtree up
<M-down>        markdown-move-down           Move list item down.
<M-left>        markdown-promote             Promote a heading
<M-return>      markdown-insert-list-item
<M-right>       markdown-demote
<M-up>          markdown-move-up             Move list item up
<S-iso-lefttab> markdown-shifttab            Global visibility cycling.
<S-tab>         markdown-shifttab            Global visibility cycling.
<backtab>       markdown-shifttab

C-c C-a         Prefix Command
C-c C-b         markdown-backward-same-level
C-c C-c         Prefix Command
C-c C-f         markdown-forward-same-level
C-c TAB         Prefix Command
C-c C-j         markdown-insert-list-item
C-c C-k         markdown-kill-thing-at-point
C-c C-l         markdown-jump
C-c C-n         markdown-next-visible-heading
C-c C-o         markdown-follow-thing-at-point
C-c C-p         markdown-previous-visible-heading
C-c C-s         Prefix Command
C-c C-t         Prefix Command
C-c C-u         markdown-up-heading
C-c C-x         Prefix Command
C-c C-]         markdown-complete
C-c -           markdown-insert-hr
C-c <           markdown-exdent-region
C-c >           markdown-indent-region
C-c C--         markdown-promote
C-c C-=         markdown-demote

M-n             markdown-next-link
M-p             markdown-previous-link
M-{             markdown-backward-paragraph
M-}             markdown-forward-paragraph

C-M-i           ispell-complete-word

C-c C-x d       markdown-move-down
C-c C-x l       markdown-promote
C-c C-x m       markdown-insert-list-item
C-c C-x r       markdown-demote
C-c C-x u       markdown-move-up

C-c C-c ]       markdown-complete-buffer
C-c C-c c       markdown-check-refs
C-c C-c e       markdown-export
C-c C-c l       markdown-live-preview-mode
C-c C-c m       markdown-other-window
C-c C-c n       markdown-cleanup-list-numbers
C-c C-c o       markdown-open
C-c C-c p       markdown-preview
C-c C-c v       markdown-export-and-preview
C-c C-c w       markdown-kill-ring-save

C-c C-s C-b     markdown-blockquote-region
C-c C-s C-p     markdown-pre-region
C-c C-s P       markdown-insert-gfm-code-block
C-c C-s b       markdown-insert-blockquote
C-c C-s c       markdown-insert-code
C-c C-s e       markdown-insert-italic
C-c C-s k       markdown-insert-kbd
C-c C-s p       markdown-insert-pre
C-c C-s s       markdown-insert-bold

C-c C-t !       markdown-insert-header-setext-1
C-c C-t 1       markdown-insert-header-atx-1
C-c C-t 2       markdown-insert-header-atx-2
C-c C-t 3       markdown-insert-header-atx-3
C-c C-t 4       markdown-insert-header-atx-4
C-c C-t 5       markdown-insert-header-atx-5
C-c C-t 6       markdown-insert-header-atx-6
C-c C-t @       markdown-insert-header-setext-2
C-c C-t H       markdown-insert-header-setext-dwim
C-c C-t h       markdown-insert-header-dwim
C-c C-t s       markdown-insert-header-setext-2
C-c C-t t       markdown-insert-header-setext-1

C-c TAB C-t     markdown-toggle-inline-images
C-c TAB I       markdown-insert-reference-image
C-c TAB i       markdown-insert-image

C-c C-a L       markdown-insert-reference-link-dwim
C-c C-a f       markdown-insert-footnote
C-c C-a l       markdown-insert-link
C-c C-a r       markdown-insert-reference-link-dwim
C-c C-a u       markdown-insert-uri
C-c C-a w       markdown-insert-wiki-link


Major modes (markdown and HTML) for authoring Jekyll content


A simple TOC generator for markdown file

Generate a TOC from a markdown file: M-x markdown-toc-generate-toc This will compute the TOC at insert it at current position. Update existing TOC: C-u M-x markdown-toc-generate-toc


export a markdown file automatically when you save an org-file


Convert commentary section of elisp files to markdown.


On the fly markdown preview


Render markdown using the Github api


Html As Markdown. Transparently edit an html file using markdown


HTML to Markdown converter written in Emacs-lisp.


Edit markdown code block in a separate buffer


Edit markdown code block in a separate buffer


extra functions for markdown-mode


Realtime preview by eww


markdown realtime preview minor mode.


Format markdown using markdownfmt