Add markdown-mode with live preview and TOC generation

This commit is contained in:
Fabio Scotto di Santolo
2026-04-16 16:35:24 +02:00
parent 199f0f63a7
commit 7732f6431a

View File

@@ -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