emacs/.emacs.d/el-get-user/init-files/init-markdown-mode.el

8 lines
496 B
EmacsLisp
Raw Normal View History

2015-04-25 21:51:54 -04:00
(defun markdown-custom ()
"markdown-mode-hook"
(setq markdown-command "markdown_py -x markdown.extensions.wikilinks -x markdown.extensions.smarty -x markdown.extensions.extra -x latex -x markdown.extensions.sane_lists -x markdown.extensions.toc -x markdown_checklist.extension -c ~/markdownConfig.yml"
markdown-enable-math t)
(local-set-key (kbd "<tab>") 'markdown-demote)
(local-set-key (kbd "S-<tab>") 'markdown-promote))
2015-04-25 21:51:54 -04:00
(add-hook 'markdown-mode-hook '(lambda() (markdown-custom)))