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

24 lines
655 B
Org Mode

:PROPERTIES:
:header-args:emacs-lisp: :comments link :results none
:ID: 6b918596-a428-4fc9-90c8-ccc456734b10
:END:
#+title: Markdown
#+filetags: emacs-load
#+begin_src emacs-lisp
(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)))
#+end_src