dotfiles/emacs-lisp/markdown.org
magic_rb f471322b6e
Add Emacs markdown configuration
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-05-04 21:07:53 +02:00

655 B

Markdown

  (use-package markdown
    :no-require t
    :init
    (define-minor-mode visual-fill-column-center-mode
      ""
      :init-value nil
      (set-variable 'visual-fill-column-center-text visual-fill-column-center-mode t))
    :config
    (set-variable 'markdown-fontify-code-blocks-natively t)
    :hook
    ((markdown-mode . visual-fill-column-mode)
     (markdown-mode . visual-fill-column-center-mode)
     (markdown-mode . visual-line-mode)
     (ma)))