Back to Blog
November 1, 2025HautechAI

Markdown Style Showcase

Demonstrates all supported markdown elements, tables, lists, blockquotes, footnotes, and code.

  • Docs
  • Style
Markdown Style Showcase

Markdown Style Showcase

Welcome to the Markdown Style Showcase. This demo article exists to confirm the typography, spacing, and accessibility of every element rendered inside the .markdown scope. Links such as our homepage remain underlined, while heading anchors stay invisible yet clickable. Focus any link to see the accessible outline state.

Strong emphasis highlights critical ideas, while italic text adds nuance. Inline code like const palette = "hi-contrast"; renders with monospace styling. Superscripts handle chemical notation such as H^2^O or mathematical expressions like 10^3^.1

Hierarchy Check

Heading anchors are wrapped around every heading level. Use them to verify there is no underline yet they remain clickable.

Level Three Heading

Body copy keeps a relaxed rhythm with generous line-height so longer paragraphs stay readable across desktop and mobile viewports.

Level Four Heading

Supporting text can reference additional resources or include inline elements like focused callouts for continued learning.

Level Five Heading

Smaller headings are useful for outlining details, FAQs, or appendix material that still needs semantic structure.

Level Six Heading

The smallest heading uses subtle letter spacing for clarity in dense technical sections.


Lists and Tasks

Unordered lists demonstrate tiered markers and spacing:

  • Discover markdown typography
    • Establish consistent line heights
      • Confirm nested bullet styles
  • Showcase inline elements inside items

Ordered lists reveal multi-level numbering:

  1. Plan the article structure
    1. Draft headings and outlines
      1. Confirm the correct counter style at each depth
  2. Review spacing between list items
  3. Publish the completed guide

Task lists render with accessible checkboxes:

  • Capture baseline requirements
  • Iterate on visual polish
  • Ship the final review

Blockquotes and Callouts

Note: Quotes rely on a left border, softer body color, and italic typography. They are ideal for highlighting guidance or references without breaking the reading flow.

"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." — Albert Einstein

Callout Variants

Code Samples

function greet(name) {
  const message = `Hello, ${name}!`;
  console.log(message);
  return message;
}

greet('HautechAI');
def fibonacci(limit):
    sequence = [0, 1]
    while sequence[-1] < limit:
        sequence.append(sequence[-1] + sequence[-2])
    return sequence

print(fibonacci(42))
{
  "title": "Markdown Style Showcase",
  "tags": ["Docs", "Style"],
  "published": true,
  "metrics": {
    "readTimeMinutes": 7,
    "complexity": "low"
  }
}

Tables

ComponentPurposeStatus
HeadingsEstablish the visual hierarchyReady
ListsCommunicate ordered or unordered stepsReady
Code BlocksHighlight syntax examplesUpdated
QuarterNorth AmericaEuropeAsia PacificLatin AmericaMiddle East
Q1125%110%132%98%105%
Q2135%118%141%102%111%
Q3140%125%149%108%119%
Q4150%133%160%115%124%

Images and Captions

Creative studio desk with design references
Floating images wrap text on larger screens but stack on mobile.

Paragraphs wrap around floated imagery on medium viewports and above, making it easy to juxtapose commentary with visuals. The component accepts intrinsic dimensions so Next.js can optimize the asset, and gracefully falls back to a standard <img> when no sizing information is supplied.

Even with floats, the clearfix ensures subsequent sections resume the natural document flow without overlapping the media. Resize the viewport to confirm the image stacks beneath the text on smaller breakpoints.

Color swatches and material samples on a workspace
Left-aligned float with custom max width.

Additional paragraphs continue to flow beside the image, demonstrating how content maintains readability while embracing editorial layouts. Try mixing inline code, links, or lists to verify the typography adapts across compositions without manual overrides.

Creative workspaces inspire experimentation across mediums and teams.

Footnotes and References

Footnotes provide additional context without interrupting the main narrative.2

Footnotes

  1. Palette guidance keeps syntax highlighting compliant with accessibility contrast guidelines.

  2. Ensure a minimum contrast ratio of 4.5:1 for body text and 3:1 for large headings.