Skip to content
Stackly
Log inStart free

Markdown conversion cases

Each case below is one HTML construct. The page exists to check how pages are converted to Markdown.

The page has nineteen cases. Each one is a small piece of HTML with a heading that says what it is. A reader that converts the page to Markdown should turn each piece into the plain text form that a person would write by hand: headings with hashes, lists with dashes, links with the full address, and buttons in square brackets.

Images without a description produce nothing, and links that run a script keep their words but lose their target. The cases are independent, so one that fails does not change the others.

Case 1: headings

Heading two

Heading three

Heading four

Heading five
Heading six

Case 2: emphasis

bold and italic and x()

Case 3: code block

a = 1
b = 2

Case 4: nested list

Case 5: ordered start

  1. third
  2. fourth

Case 6: table

PlanNote
Proa|b

Case 7: blockquote

Quoted line

Case 8: rule


Case 9: relative link

Pricing

Case 10: hash link

Top

Case 11: javascript link

Open menu

Case 12: empty href

Plain anchor

Case 13: icon link

Case 14: image with alt

Board with four columns

Case 15: image without alt

Case 16: button

Case 17: line break

line one
line two

Case 18: definition list

Term
Meaning

Case 19: details

More

Hidden text