How can we help? πŸ‘‹

Complete Markdown Test

A comprehensive test of all markdown features

Last updated on March 18, 2024

Complete Markdown Feature Test

This article demonstrates all supported markdown features in your help center.

Headings

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading

Text Formatting

This is bold text and this is italic text.

You can also use bold and italic with underscores.

This text is both bold and italic.

This text is strikethrough.

Lists

Unordered Lists

  • Item 1
  • Item 2
    • Nested item A
    • Nested item B
      • Double nested item
  • Item 3

Ordered Lists

  1. First item
  2. Second item
    1. Nested numbered item
    2. Another nested item
  3. Third item

Task Lists

  • Completed task
  • Incomplete task
  • Another completed task
  • Another incomplete task

Here's a link to example.com.

Here's an image (replace with actual image URL): Sample Image

Video Embeds

YouTube Video (Option 1: Direct iframe)

YouTube Video (Option 2: With wrapper for better responsive design)

Vimeo Video

How to get YouTube embed URLs:

  1. Go to your YouTube video
  2. Click "Share"
  3. Click "Embed"
  4. Copy the iframe code or just the URL from src="..."
  5. Replace watch?v= with embed/ if using direct URL

Code

Inline Code

Use npm install to install packages. The console.log() function prints to console.

Code Blocks

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

greet("World");
def calculate_sum(a, b):
    """Calculate the sum of two numbers."""
    result = a + b
    print(f"The sum of {a} and {b} is {result}")
    return result

calculate_sum(5, 3)

Blockquotes

This is a simple blockquote. It can span multiple lines.

This is a blockquote with bold text and italic text.

It can also contain multiple paragraphs.

Tables

FeatureSupportedNotes
Headersβœ…All heading levels
Bold/Italicβœ…Multiple syntaxes
Listsβœ…Nested and task lists
Tablesβœ…With alignment
Codeβœ…Inline and blocks

Table with Alignment

Left AlignedCenter AlignedRight Aligned
Left textCenter textRight text
More leftMore centerMore right

Horizontal Rules

Text above the rule.


Text below the rule.


Another rule style.


And another rule style.

Escaping Characters

You can escape special characters with backslashes:

*This text has literal asterisks*

# This is not a heading

[This is not a link]

Mixed Content Example

Here's a complex example combining multiple features:

Recipe: Markdown Soup 🍲

Ingredients:

  • 2 cups of heading tags
  • 1 tablespoon 2 tablespoons of emphasis
  • A pinch of links
  • Fresh lists (ordered or unordered)

Instructions:

  1. First, prepare your headings:

    # Main Heading
    
    ## Subheading
    
  2. Mix in some emphasis:

    • Bold for important points
    • Italic for subtle emphasis
    • Strikethrough for corrections
  3. Add tables for organization:

    StepActionResult
    1MixCombined
    2ServeDelicious
  4. Finish with a blockquote:

    "The best markdown is well-structured markdown." β€” Anonymous Developer

Notes:

  • Test all features
  • Verify rendering
  • Update documentation

This concludes our comprehensive markdown test!