Skip to content

Examples: Edge Cases

These edge cases are executable conformance fixtures, organized into topical pages for easier reading.

Tables

Alignment, spans, multi-line cells, ragged rows and the pipe rules that decide whether a table exists at all.

Lists

Markers, looseness, the content-column model, continuation markers and block openers inside items.

Containers, quotes and fences

Divs, block quotes, code and comment fences: nesting, lazy continuation, absorption and what closes what.

Paragraphs, breaks and captions

Paragraph folding, thematic breaks, caption attachment and adjacent block openers.

Inline spans

Emphasis flanking, mentions and tags, smart typography, inline literals and escaping.

Destinations, titles, reference and collapsed forms, autolinks and where a definition may live.

Footnotes

Bodies as blocks, the body content column, collection inside containers and placement of the rendered list.

Definition lists and abbreviations

Terms and descriptions, abbreviation definitions and the document levels that may declare them.

Attributes

Attribute lines and inline blocks, names and values, classes, booleans and the semantic/language sugar.

Headings and cross-references

Section wrapping, id derivation and normalization, implicit and collapsed heading references.

Whitespace, tabs and columns

Where a space is required, where a tab reaches, blank lines, line endings and trailing whitespace.

Security and limits

Trojan-Source stripping, scheme probes, attribute hardening and the nesting cap.

Released under the MIT License.