Markdown Syntax Features Test

中文:zh

 


 

This test document is designed to demonstrate various Markdown syntax features, including basic formatting, lists, links, images, code blocks, tables, mathematical formulas, Mermaid diagrams, and more. This comprehensive test will help you verify the support of these features in different Markdown renderers.

1. Headings

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

Heading Level 5
Heading Level 6

2. Text Formatting

Bold Text

Italic Text

Bold and Italic Text

Strikethrough Text

Underlined Text


3. Lists

Unordered List

Ordered List

  1. First Item

  2. Second Item

    1. Subitem Two Point One

    2. Subitem Two Point Two

  3. Third Item

Task List


This is an example link.

Images

Example Image

Note: Some renderers may require specific permissions to display external images.


5. Code

Inline Code

Here is an example of print("Hello, World!").

Code Blocks


6. Blockquotes

This is a blockquote.

It can span multiple lines.


7. Tables

NameAge
Alice25
Bob30
Carol22
ProductPriceStock
Apple$1100
Banana$0.5200
Grape$2150

8. Mathematical Formulas

Inline Math

Einstein's mass-energy equivalence is E=mc2.

Block Math

abf(x)dx=F(b)F(a)
E=ρε0

Note: Rendering of mathematical formulas depends on whether the renderer supports LaTeX.


9. Mermaid Diagrams

Flowchart

Yes
No
Start
Decision
Execute Operation
End

Sequence Diagram

SystemUserSystemUserRequest DataReturn Data

Gantt Chart

2024-01-072024-01-142024-01-212024-01-282024-02-042024-02-112024-02-182024-02-252024-03-032024-03-102024-03-172024-03-242024-03-312024-04-072024-04-142024-04-212024-04-282024-05-052024-05-12Requirement Analysis Design Frontend Development Backend Development Unit Testing Integration Testing PlanningDevelopmentTestingProject Schedule

Note: Mermaid diagrams require the renderer to support Mermaid syntax.


10. Horizontal Rules





11. Others

Text Alignment

Some renderers support text alignment:

Left Aligned (Defalut)

Center Aligned
Right Aligned

Footnotes

This is a footnote example.1

Highlight

This is highlighted text.

Emoji

This is a smiley emoji 😊.

Shortcodes


12. Unsupported Syntax Examples

Inline HTML

This is red text.

Custom Containers

::: warning This is a warning box. :::

Nested Task Lists

LaTeX Macros

\newcommand{\vect}[1]{\boldsymbol{#1}}

 

 


1 This is the content of the footnote.