A test post to verify all rich text widgets and content elements are rendering correctly.

Widget Test — Every Element

This post tests every content element. Check each section below to confirm all widgets render correctly on the frontend.


Inline Formatting

Normal, bold, italic, bold+italic, underline, strikethrough, inline code. Also a link.


Headings

Heading 1

Heading 2

Heading 3

Heading 4


Lists

Unordered

  • Bullet item one
  • Bullet with bold
  • Bullet with inline code

Ordered

  1. First
  2. Second
  3. Third

Checklist


Blockquote

The best way to predict the future is to invent it. — Alan Kay

Code Block (JavaScript)

JavaScript
async function fetchPost(slug) {
  const res = await fetch(`/api/posts?where[slug][equals]=${slug}`);
  const data = await res.json();
  return data.docs?.[0] ?? null;
}

Code Block (Python)

Python
def calculate_roi(revenue, cost):
    return (revenue - cost) / cost * 100

roi = calculate_roi(50000, 30000)
print(f"ROI: {roi:.2f}%")

Table

Widget

Status

Notes

Headings H1–H4

Font size scales down

Inline formats

Bold, italic, code, link

Lists (UL/OL/Check)

Bullets, numbers, checkboxes

Blockquote

Left border style

Code block

Payload block format, syntax highlight

Table

This table

Relationship

See section below


Relationship Widget

The card below is a Relationship node — it embeds a link to another post:

If you see a styled callout card with the post title above, the relationship widget is working correctly.