This synthetic article exercises each element the HTML writer emits, so a paste into the X Article editor shows what is kept. Every name and link in it is made up.

Spacing

A first paragraph. This sentence sits on a new source line but belongs to the same paragraph.

A second paragraph after one blank line.

A third paragraph after three blank lines; it should look the same as the gap above.

A line that ends with a hard break,
and the line after it.

Inline styles

Plain, bold, italic, bold italic, struck, and inline code in one line.

Inline code with markup characters: <div class="x">a & b</div>.

Text with characters to escape: 3 < 4, 5 > 2, Tom & Jerry, "quotes" and 'apostrophes'.

Raw HTML in the source is shown as text: <span>not a tag</span>.

Links

An inline link, a link with a query, a reference link, and an autolink https://example.org/.

Lists

  1. First step
  2. Second step
  3. Third step

A separate numbered list:

  1. A numbered list that starts at three
  2. And continues at four

Quotes

A one-paragraph quote with bold and a link.

A quote with two paragraphs.

The second paragraph of the same quote.

Code

A fenced block with a language tag:

def greet(name: str) -> str:
    if name and "<" not in name:
        return f"Hello, {name} & welcome"

    return "Hello"

An indented block:

plain indented code
  keeps its indentation

Tables

NameCountNote
Alpha1bold cell
Beta22code cell
Gamma333link

Images

The diagram goes here:

[Image 01]

A Markdown image cannot be pasted either: [Image: A sample chart]

Heading levels

A subheading

A deep heading that becomes a bold lead-in

Body text under the lead-in.


The end, after a divider.