Heading 1

This is a paragraph under a level 1 heading.

Heading 2

This is a paragraph under a level 2 heading.

Heading 3

This is a paragraph under a level 3 heading.

Heading 4

This is a paragraph under a level 4 heading.

Heading 5

This is a paragraph under a level 5 heading.

Heading 6

This is a paragraph under a level 6 heading.

Paragraphs and Text Formatting

This is a normal paragraph. It can contain bold text, italic text, bold italic text, strikethrough, inline code, and link text.

This is another paragraph to test spacing between paragraphs.

Blockquotes

This is a simple blockquote.

Blockquotes can contain multiple paragraphs.

This is an example of a nested blockquote:

This is nested quote content.

Multiple levels of nesting are possible.

Lists

Unordered List

Ordered List

  1. First item
  2. Second item
    1. Nested ordered item 1
    2. Nested ordered item 2
      1. Even deeper nested item
  3. Third item

Task List (Checkbox)

Definition List

Term 1
This is the definition for term 1.
Term 2
This is the definition for term 2.
Terms can have multiple definitions.

Code

Inline Code

This is a paragraph with console.log('Hello World') inside.

Code Blocks

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

greet('World');
Click to expand and view more
PYTHON
def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)

print(fibonacci(10))
Click to expand and view more
CSS
.prose {
  max-width: none;
  color: var(--tw-prose-body);
}

.prose h1 {
  font-size: 2.25rem;
  font-weight: 700;
}
Click to expand and view more

Tables

Left AlignCenter AlignRight Align
Content 1Content 2Content 3
Longer contentMediumShort
Data AData BData C

Horizontal Rule


Images

Sample Image
Sample Image

This is a regular link.

This is a link with title.

This is a reference-style link: Reference Link

Footnotes

This is a paragraph with a footnote1.

Here is another footnote2.

Highlighted Text

This is a paragraph with ==highlighted text==.

Superscript and Subscript

H2O is the chemical formula for water.

E = mc^2^ is Einstein’s mass-energy equation.

Keyboard Keys

Press Ctrl + C to copy text.

Abbreviations

HTML is the abbreviation for HyperText Markup Language.

*[HTML]: HyperText Markup Language

Math Formula (if KaTeX supported)

Inline formula: $E = mc^2$

Block formula:

$$ \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi} $$

Admonitions (if supported)

Details (if supported)

Click to expand details

This is the collapsed detailed content.

You can include any Markdown syntax here:

  • List item
  • Bold text
  • Code

Mixed Content Test

This paragraph contains multiple formats: bold, italic, code, link, strikethrough, ==highlight==.

Complex List

  1. First item with bold text
    • Nested item with code
    • Another nested item with link
  2. Second item with italic text
    1. Ordered nested item
    2. Another ordered nested item
  3. Third item with strikethrough text

Complex Table

FeatureStatusDescription
BoldSupports bold text
ItalicSupports italic
CodeSupports inline code
LinkSupports links
StrikethroughNeeds testing

This test document covers most common Markdown syntax and can be used to verify the completeness and aesthetics of prose styles.


  1. This is the content of the first footnote. ↩︎

  2. This is the content of a named footnote. ↩︎

Copyright Notice

Author: Hugo Narrow

Link: https://hugo-narrow.vercel.app/posts/markdown-test/

License: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license.

Comments

开始搜索

输入关键词搜索文章内容

↑↓
ESC
⌘K Shortcut