Markdown emacs setup

This commit is contained in:
2026-03-07 18:30:35 -05:00
parent a8315e32f1
commit 15e62ed479
2 changed files with 47 additions and 1 deletions

View File

@@ -546,6 +546,50 @@ org-modern instead
(add-hook 'org-mode-hook (lambda () (org-superstar-mode 1)))
#+end_src
* Markdown
#+begin_src emacs-lisp
(after! grip-mode
(setq grip-binary-path "/home/tpouplier/.local/bin/grip")
)
#+end_src
#+begin_src emacs-lisp
(after! markdown-mode
(setq markdown-header-scaling t)
(custom-set-faces
'(markdown-header-face-1 ((t
:inherit markdown-header-face
:foreground "#fabd2f"
:height 1.8
:weight extra-bold)))
'(markdown-header-face-2 ((t
:inherit markdown-header-face
:foreground "#fe8019"
:height 1.4
:weight extra-bold)))
'(markdown-header-face-3 ((t
:inherit markdown-header-face
:foreground "#fb4934"
:height 1.2
:weight bold)))
'(markdown-header-face-4 ((t
:inherit markdown-header-face
:foreground "#b8bb26"
:height 1.1
:weight bold)))
'(markdown-header-face-5 ((t
:inherit markdown-header-face
:foreground "#83a598"
:height 1.0
:weight bold)))
'(markdown-header-face-6 ((t
:inherit markdown-header-face
:foreground "#d3869b"
:height 1.0
:weight bold))))
)
#+end_src
* PlantUML
#+begin_src emacs-lisp
;; Enable plantuml-mode for PlantUML files

View File

@@ -150,7 +150,9 @@
;;lean ; for folks with too much to prove
ledger ; be audit you can be
lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
(markdown ; writing docs for people to ignore
+grip
+tree-sitter)
;;nim ; python + lisp at the speed of c
(nix ; I hereby declare "nix geht mehr!"
+lsp