aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-buffer-file.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 23:40:28 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 23:40:28 -0500
commitd7abba34e876f4aa2c371dde80287dd8da1a7e13 (patch)
tree425164b772bde9a4a7d43e5c9e4025146757ca08 /modules/custom-buffer-file.el
parent30ba5a6392ff121e08ea4d97e8d88dfc1f246634 (diff)
downloaddotemacs-d7abba34e876f4aa2c371dde80287dd8da1a7e13.tar.gz
dotemacs-d7abba34e876f4aa2c371dde80287dd8da1a7e13.zip
feat(markdown-config): register markdown as an org src-block language
`#+begin_src markdown ... #+end_src' blocks rendered and exported fine but `org-lint' warned on every one of them ("Unknown source block language: 'markdown'"), and `C-c '' inside the block fell back to `fundamental-mode' instead of opening it in `markdown-mode' for editing. Add a `with-eval-after-load 'org' form that pushes `("markdown" . markdown)' onto `org-src-lang-modes'. New ERT test in `tests/test-markdown-config.el' asserts the entry resolves to `markdown' after `(require 'markdown-config)'. Surfaced while clearing `org-lint' on `todo.org' from 55 issues down to 1 -- the last one was this warning on a Linear ticket-body draft that was genuinely markdown. Registering the language is the right fix; relabeling the block as `text' or `example' would lose accuracy.
Diffstat (limited to 'modules/custom-buffer-file.el')
0 files changed, 0 insertions, 0 deletions