mirror of
https://github.com/fscotto/infra.git
synced 2026-05-31 07:49:57 +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; -*-
|
;;; markdown.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:mode ("README\\.md\\'" . gfm-mode)
|
:mode ("\\.md\\'" . gfm-mode)
|
||||||
:init (setq markdown-command "multimarkdown"))
|
: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
|
;;; markdown.el ends here
|
||||||
|
|||||||
Reference in New Issue
Block a user