diff options
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el')
-rw-r--r-- | users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el index 508a5b90c441..58fc6a09c9f0 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el @@ -104,7 +104,10 @@ (setq markdown-command "pandoc") (setq markdown-split-window-direction 'right) ;; (add-hook 'markdown-mode-hook #'markdown-live-preview-mode) - ) + ;; Use mode-specific syntax highlighting for code blocks. + (setq markdown-fontify-code-blocks-natively t) + ;; Prevent Emacs from adding a space after the leading 3x-backticks. + (setq markdown-spaces-after-code-fence 0)) (use-package alert) |