CommonMark Complex Fixture

This fixture is intentionally dense. It should be useful as a parser and renderer smoke test, not as polished prose.

Inline basics include emphasis, strong emphasis, strong and emphasis, inline code, and code with a ` backtick. Links include an inline link, a full reference, a collapsed reference, and a shortcut reference.

Images:

inline image alt

reference image alt

Autolinks: https://example.com/autolink and person@example.com. Entities: & < > " # A. Escapes: *literal asterisks*, [literal brackets], `literal backticks`, and \literal backslashes\. Inline HTML: raw span and Ctrl.

GFM table extension:

FeatureStatusNotes
TablesWorkinggfm-table
AlignmentCenteredRight aligned
Escaped pipeA | BInline a | b code

GFM extension coverage:

Literal autolinks include www.example.org and docs@example.org without angle brackets. A footnote reference should become an endnote.1

Wide table edge case:

TestWhat it verifies
SyntheticReportRenderer_HandlesRidiculouslyLongIdentifierWithoutPageOverflowVeryLongConfigurationFlagNameForLayoutTesting is present -> the table scrolls inside its container
ExamplePipeline_FallsBackToReadableSummaryWhenTelemetryTokenIsMissingNo ImaginaryTelemetryToken, no DemoChecksumMarker -> the rendered document keeps its page width
FictionalScenario_SkipsOptionalProbeWhenDemoFeatureSwitchIsDisabledDemoFeatureSwitch=false, no PlaceholderProbeName -> inline code remains readable in a narrow viewport

This line ends with a soft break and continues in the same paragraph. This line ends with a hard break
and this text follows the hard break.

Setext Level One

Setext Level Two

ATX Heading With Closing Hashes

Heading With code And Reference

####### Seven hashes are paragraph text, not a heading.




A simple block quote paragraph with inline emphasis and a link.

A nested block quote.

  1. Nested ordered item one.
  2. Nested ordered item two.
    • Nested bullet inside the ordered item.
    • Another nested bullet with code.
  • Bullet item inside a quote.
  • Second bullet item inside a quote.
const quoted = "fenced code inside a block quote";
console.log(quoted);

Lazy continuation text belongs to the previous block quote paragraph even though this source line has no quote marker.

  1. Loose ordered item one.

    This second paragraph makes the list loose.

  2. Loose ordered item two.

    • Child bullet paragraph.

      Child continuation paragraph.

  1. Ordered list starting at nine.
  2. Ordered list continuing at ten.

Paragraph before an ordered-looking line. 2. This line should stay part of the paragraph if paragraph interruption rules are implemented exactly.

function indentedCode() {
  return "four leading spaces";
}
export function fencedCode(value: string): string {
  return value.trim();
}
public sealed class MarkdownRenderer
{
    public string Render(string markdown)
    {
        Console.WriteLine("Rendering Markdown");
        return markdown.Trim();
    }
}
<div class="from-fence">
  Fenced HTML is code, not raw HTML.
</div>

Raw HTML block content with HTML strong.

Paragraph after raw HTML should resume Markdown parsing with strong text.


  1. Footnotes are rendered after the main content, with a back link to the reference. They can contain inline formatting and regular Markdown links such as the example site.

    Back