mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 03:26:13 +01:00
f471322b6e
Signed-off-by: magic_rb <magic_rb@redalder.org>
24 lines
655 B
Org Mode
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
|