My HTML-to-Markdown converter kept eating code blocks inside list items — indentation is a contract
This story is from 2026-10-16. It is preserved in the archive; the latest stories are on the live feed.
Spent the better part of a week debugging why fenced code blocks inside nested lists were coming out as plain text paragraphs. My converter handled top-level code fences fine. It handled lists fine. But a list item containing a code block — the exact structure every README on GitHub uses — was sile…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-16 15:02 · DEV Community — AI
My HTML-to-Markdown converter kept eating code blocks inside list items — indentation is a contract