From 15e62ed47982ffe5246299aa84b383ec663e0f94 Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Sat, 7 Mar 2026 18:30:35 -0500 Subject: [PATCH] Markdown emacs setup --- doom/.config/doom/README.org | 44 ++++++++++++++++++++++++++++++++++++ doom/.config/doom/init.el | 4 +++- 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/doom/.config/doom/README.org b/doom/.config/doom/README.org index b0762e0..0e92315 100644 --- a/doom/.config/doom/README.org +++ b/doom/.config/doom/README.org @@ -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 diff --git a/doom/.config/doom/init.el b/doom/.config/doom/init.el index eb5db38..45e82c4 100644 --- a/doom/.config/doom/init.el +++ b/doom/.config/doom/init.el @@ -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