Markdown Converter Regression Test
Fixture ID: MD-CONVERTER-V9-20261112. This document intentionally mixes content and page chrome so Full, Stripped, GFM and Custom output can be compared.
Headings and inline formatting
Third-level heading
Text with bold, italic, strikethrough, highlight, and inline_code().
Inline backticks: call(`literal`); longer runs: use `` inside code; literal angle brackets: <span>.
Escaped HTML entities: A & B, 5 < 7, 9 > 3, "quoted", and non-ASCII: café, naïve, £, €, 日本語.
Links and references
Absolute external link, relative internal link, email link, and same-page anchor.
Blockquote: the line below is intentionally repeated in code examples, and must never disappear from code.
Lists
- First bullet
- Nested bullet
- Second bullet with bold
- First numbered item
- Second numbered item
Tables
| Feature | Expected value | Notes |
|---|---|---|
| Alpha | 123 | Keep this row |
| Pipe cell | A | B | Escape pipe where needed |
| Empty first cell | Preserve column alignment | |
| Unicode | café | £10 |
Table with nested preformatted code
| Example | Source code |
|---|---|
| Example A | \usepackage{letltxmacro}
\makeatletter
\let\oldr@@t\r@@t
\def\r@@t#1#2{%
\setbox0=\hbox{$\oldr@@t#1{#2\,}$}\dimen0=\ht0
\advance\dimen0-0.2\ht0
\setbox2=\hbox{\vrule height\ht0 depth -\dimen0}%
{\box0\lower0.4pt\box2}}
\makeatother |
| Example B (repeat deliberately) | \usepackage{letltxmacro}
\makeatletter
\let\oldr@@t\r@@t
\def\r@@t#1#2{%
\setbox0=\hbox{$\oldr@@t#1{#2\,}$}\dimen0=\ht0
\advance\dimen0-0.2\ht0
\setbox2=\hbox{\vrule height\ht0 depth -\dimen0}%
{\box0\lower0.4pt\box2}}
\makeatother |
Code blocks
Both blocks below contain an identical line. The converter must keep it in BOTH blocks.
function first() {
const shared = "KEEP_THIS_DUPLICATE_LINE";
console.log("three backticks: ``` inside code");
return shared;
}
function second() {
const shared = "KEEP_THIS_DUPLICATE_LINE";
console.log("four backticks: ```` inside code");
return shared;
}
Plain preformatted text
line one
indented line
line one
indented line
Images and media
Embedded data image (no external dependency):
Relative image path: ![]()

Repeated prose versus repeated code
REPEAT_PROSE_FIXTURE — same paragraph once.
REPEAT_PROSE_FIXTURE — same paragraph once.
Repeated prose may be deduplicated by design, but repeated code must not be.
Horizontal rule and definition
- Term
- Definition of the term.
Final sentinel
END_OF_MAIN_CONTENT_9F2A