8 lines
496 B
EmacsLisp
8 lines
496 B
EmacsLisp
(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))
|
|
(add-hook 'markdown-mode-hook '(lambda() (markdown-custom)))
|