Blog Styling Showcase: Every Format in One Post

March 30, 2026 | 3 min read

Blog Styling Showcase: Every Format in One Post

This post is a live formatting playground so you can verify the exact blog typography and components.

You should see:

  • clean heading hierarchy
  • readable paragraph rhythm
  • highlighted inline tags like this one
  • styled lists, tables, and quotes
  • syntax-highlighted code blocks with copy button

If all these render nicely, your blog revamp is working.

Inline Formatting

Here are common inline styles in one place:

  • Bold text for emphasis.
  • Italic text for tone.
  • Bold + italic for stronger emphasis.
  • Strikethrough for removed ideas.
  • Inline code for commands, variables, and keywords.
  • Marked highlight using HTML mark tag.
  • Keyboard hint with Ctrl + K.
  • Superscript like x2 and subscript like H2O.

Text Color Options

You can now highlight semantic states directly inside blog content:

  • Deployment status: successful
  • Security status: critical

In sentence form: this feature is production-ready, but this bug is blocking release.

Heading Scale

This is an H2 heading

This is an H3 heading

This is an H4 heading

This is an H5 heading
This is an H6 heading

Paragraph Flow

Good writing needs good spacing. This paragraph is here to test line length, line height, and visual rhythm so your content stays readable on both desktop and mobile.

Second paragraph right after the first one, with similar length, helps validate vertical spacing and whether the body text feels too tight or too loose.

Lists

Unordered list

  • Build a clear idea first.
  • Define scope before coding.
  • Ship a small version quickly.
    • Improve UX after feedback.
    • Refactor after validation.
  • Repeat.

Ordered list

  1. Pick one problem.
  2. Write down requirements.
  3. Build MVP.
  4. Test with users.
  5. Iterate.

Task list

  • Typography revamp
  • Code block polish
  • Link styling update
  • Add custom callout variants
  • Add reading progress indicator

Quote + Callout

"Design is not just what it looks like and feels like. Design is how it works."

Tip: If you are writing technical blogs, optimize for clarity before cleverness.

Table Showcase

FeatureStatusNotes
HeadingsDoneClear hierarchy and spacing
Body textDoneComfortable line-height
Code blocksDoneHighlighted with copy action
TablesDoneBorder + hover style
Task listsDoneChecklist rendering enabled

Links and Navigation

Code Block Showcase

TypeScript

export type Result<T> = | { ok: true; value: T } | { ok: false; error: string }; export function parsePositiveInt(input: string): Result<number> { const value = Number(input); if (!Number.isInteger(value) || value <= 0) { return { ok: false, error: "Expected a positive integer" }; } return { ok: true, value }; }

TSX / React

import { cn } from "@/lib/utils"; type Status = "online" | "offline" | "busy"; export function StatusPill({ status }: { status: Status }) { return ( <span className={cn( "inline-flex items-center rounded-full px-2.5 py-1 text-xs font-medium", status === "online" && "bg-emerald-500/15 text-emerald-400", status === "offline" && "bg-zinc-500/20 text-zinc-300", status === "busy" && "bg-amber-500/20 text-amber-300" )} > {status} </span> ); }

JSON

{ "isSuccess": true, "message": "Fetched dashboard summary", "data": { "projects": 12, "activeUsers": 483, "deployStatus": "healthy" }, "timestamp": "2026-03-30T11:30:00Z" }

Bash

# install dependencies pnpm install # run development server pnpm dev # build for production pnpm build

Python

from datetime import datetime services = ["api", "db", "cache"] for service in services: print(f"[{datetime.utcnow().isoformat()}] {service}: ok")

Diff

- const isDark = theme === "dark";+ const isDark = resolvedTheme === "dark"; - button.className = "text-white";+ button.className = "text-foreground";

MDX Media Component

Developer desk setup

Collapsible Details

Click to expand a hidden section

This is useful for FAQs, extra notes, or optional implementation details.

Final Check

If this post renders correctly, then your blog now supports a full modern writing system:

  • readable prose
  • expressive inline formatting
  • rich code examples
  • media embeds
  • polished article structure

That is the exact styling showcase you asked for.

SD

Author Note

Soumyadeep Dey

Thanks for reading. If this post helped you, share it with a friend or drop feedback.

GitHub
LinkedIn