diff options
-rw-r--r-- | init.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index f4d6533..ae61b87 100644 --- a/init.el +++ b/init.el | |||
@@ -1183,6 +1183,17 @@ See also `crux-reopen-as-root-mode'." | |||
1183 | (setup (:straight marginalia) | 1183 | (setup (:straight marginalia) |
1184 | (marginalia-mode +1)) | 1184 | (marginalia-mode +1)) |
1185 | 1185 | ||
1186 | (setup (:straight markdown-mode) | ||
1187 | (:option markdown-hide-markup t) | ||
1188 | (add-to-list 'auto-mode-alist (cons (rx (or ".md" ".markdown" ".mdown") | ||
1189 | eos) | ||
1190 | 'markdown-mode)) | ||
1191 | (with-eval-after-load 'apheleia | ||
1192 | (when-let ((mdfmt-exe (executable-find "markdownfmt"))) | ||
1193 | (setf (alist-get 'markdownfmt apheleia-formatters) mdfmt-exe) | ||
1194 | (setf (alist-get 'markdown-mode apheleia-mode-alist) 'markdownfmt) | ||
1195 | (setf (alist-get 'gfm-mode apheleia-mode-alist) 'markdownfmt)))) | ||
1196 | |||
1186 | (setup (:straight minions) | 1197 | (setup (:straight minions) |
1187 | (:option minions-prominent-modes | 1198 | (:option minions-prominent-modes |
1188 | '(tracking-mode)) | 1199 | '(tracking-mode)) |