<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-markdown-config.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-24T20:31:07+00:00</updated>
<entry>
<title>test: cover markdown-html filter and media-player selector</title>
<updated>2026-05-24T20:31:07+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-24T20:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=c6a81743f95638bc8275bea1b590f4ca9f7cbc39'/>
<id>urn:sha1:c6a81743f95638bc8275bea1b590f4ca9f7cbc39</id>
<content type='text'>
Two real-logic gaps from the refreshed coverage backlog. cj/markdown-html (markdown-config) is the impatient-mode filter that wraps a source buffer's text in the strapdown HTML shell — tested for normal content and an empty buffer. cj/select-media-player (media-utils) was the one untested function there — tested that choosing an available player updates cj/default-media-player and that a non-matching selection leaves it unchanged. Both mock at the boundary (completing-read, the source buffer).
</content>
</entry>
<entry>
<title>feat(markdown-config): register markdown as an org src-block language</title>
<updated>2026-05-15T04:40:28+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-15T04:40:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=05de4899cd848bfe1d80b025c8735cea9e58c642'/>
<id>urn:sha1:05de4899cd848bfe1d80b025c8735cea9e58c642</id>
<content type='text'>
`#+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.
</content>
</entry>
</feed>
