diff --git a/dotfiles/desktop/.emacs.d/lisp/lang/markdown.el b/dotfiles/desktop/.emacs.d/lisp/lang/markdown.el index 03c23df..46fd4d5 100644 --- a/dotfiles/desktop/.emacs.d/lisp/lang/markdown.el +++ b/dotfiles/desktop/.emacs.d/lisp/lang/markdown.el @@ -1,8 +1,15 @@ ;;; markdown.el -*- lexical-binding: t; -*- + (use-package markdown-mode :ensure t - :mode ("README\\.md\\'" . gfm-mode) - :init (setq markdown-command "multimarkdown")) + :mode ("\\.md\\'" . gfm-mode) + :config + (setq markdown-fontify-code-blocks-natively t) + (setq markdown-live-preview-mode t)) + +(use-package markdown-toc + :ensure t) + +(provide 'lang/markdown) -(provide 'markdown) ;;; markdown.el ends here