Markdown Test Suite for CMS

This is a comprehensive test document designed to verify that your CMS correctly renders all standard and extended Markdown elements.

1. Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

2. Text Formatting

This is a normal paragraph demonstrating bold text, italic text, and bold italic text. You can also use bold and italic with underscores. Don't forget strikethrough if your CMS supports GFM (GitHub Flavored Markdown). Here is some inline code and a keystroke using HTML: Ctrl + C. You can also test subscript (H2O) and superscript (X^2^) if your parser supports it.


3. Links

Here is a standard inline link. Here is a link with a title: Google Search. Here is a reference link. Autolink: https://example.com or email contact@example.com.


4. Images

Alt text

 


5. Lists

Unordered List

  • Item 1
  • Item 2
    • Nested Item 2.1
    • Nested Item 2.2
      • Deeply Nested Item
  • Bullet using minus
  • Bullet using plus

Ordered List

  1. First item
  2. Second item
    1. Sub-item 1
    2. Sub-item 2
  3. Third item

6. Blockquotes

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

And it can be nested.

You can also put other Markdown elements in blockquotes:

  • A list item
  • Bold text
  • inline code

7. Code Blocks

Indented code block:

def hello_world():
    print("Hello, world!")

Fenced code block with syntax highlighting (Python):

def fibonacci(n):
    if n <= 0:
        return 0
    elif n == 1:
        return 1
    return fibonacci(n-1) + fibonacci(n-2)

Fenced code block with syntax highlighting (JSON):

{
  "key": "value",
  "array": [1, 2, 3]
}

8. Tables

Basic Table (from your requirements):

Month Savings
January $250
February $80
March $420

Table with alignment:

Left-Aligned Center Aligned Right Aligned
Data 1 Data 2 Data 3
Row 2 Row 2 Row 2

9. Horizontal Rules

Below is a horizontal rule using hyphens:


Below is a horizontal rule using asterisks:


Below is a horizontal rule using underscores: