mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Add markdown-mode with live preview and TOC generation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user