Formatting Stress-Test — Every Nostr Long-form Element

A tour of every markdown element, to see what renders on Nostr long-form clients.
Formatting Stress-Test — Every Nostr Long-form Element

This italic line is the deck — a summary at the top of the body, since Nostr long-form has no subtitle field.

A quick note before the tour: everything below is a formatting stress-test for Nostr long-form (NIP-23). If an element renders here, we can rely on it in real articles.

Headings become sections

A third-level heading

Regular paragraph text with bold, italic, bold italic, and strikethrough. Here is an external link, and some inline code in the middle of a sentence.

A blockquote, for pull-quotes and epigraphs.
It can run across multiple lines and should sit set-apart from the body.

Lists, ordered and nested

Unordered:

  • First item
  • Second item
    • A nested item under the second
    • Another nested one
  • Third item

Ordered:

  1. Step one
  2. Step two
  3. Step three

A task list (may or may not render as checkboxes):

  • [x] This one is done
  • [ ] This one is not

Images (hero above; two inline below)

Raised beds at first light

Some text between the two images, so we can see spacing and flow around them.

The compost pile doing its quiet work

A fenced code block

function hello() {
  return "does a fenced code block render as monospace?";
}

A table (frequently unsupported on Nostr)

Feature Usually renders?
Bold / italic yes
Lists yes
Tables depends on client

A horizontal rule sits just above this line.

A native Nostr mention

Here is a mention of an account — does the client turn it into a clickable profile? @j02g…e536

That is the whole tour. End of the formatting stress-test.


Write a comment