motorino/internal/mdx
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 4ab8f8d122
All checks were successful
check / check (pull_request) Successful in 30s
fix: find code blocks with the Markdown parser and make the escape work everywhere
The hand written fence scanner took a line that starts with a code span for a
fence and missed fences in quotes and lists. The code blocks are now the ones
goldmark finds. A backslash before a placeholder is turned into a marker that
survives the Markdown and the list expansion, so it works in a code span and
next to a block name, and two backslashes are a literal one. The em dash rule
reports the line of the body, refuses padded entities and checks the header keys
by name, the feed leaves protocol-relative links alone, base_url needs a host
and a language file cannot set it.
2026-11-15 10:38:56 +01:00
..
emdash.go fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
emdash_test.go fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
mdx.go fix: close the minor findings of the first review 2026-11-15 10:32:19 +01:00
mdx_test.go fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
slug.go feat: render Markdown with stable heading ids and the em dash rule 2026-11-15 09:43:26 +01:00
slug_test.go feat: render Markdown with stable heading ids and the em dash rule 2026-11-15 09:43:26 +01:00
substitute.go fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00