mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
Add Emacs markdown
configuration
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
76d78520c1
commit
f471322b6e
23
emacs-lisp/markdown.org
Normal file
23
emacs-lisp/markdown.org
Normal file
|
@ -0,0 +1,23 @@
|
|||
: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
|
Loading…
Reference in a new issue