Markdown Syntax Guide
This document introduces common Markdown syntax to help you get started with writing documentation quickly.
Headers
Use # to denote headers level 1-6.
Quick Input Tip: Type 1-6 # characters at the beginning of a line followed by a Space to automatically convert it to the corresponding header style.
Emphasis
- Bold: Use
**or__to wrap text. - Italic: Use
*or_to wrap text. Strikethrough: Use~~to wrap text.
Lists
Unordered List
Use *, +, or - as list markers.
Ordered List
Use numbers followed by a ..
Blockquotes
Use > for blockquotes.
Code
Inline Code
Use backticks ` to wrap code.
Code Blocks
Use three backticks ``` to wrap code blocks, and specify the language.
Quick Input Tip: Type ``` (optional language name) at the beginning of a line followed by a Space to automatically convert it to a code block.
Links & Images
Links
Images
Tables
Use | to separate cells, and - to separate headers and content.
Horizontal Rules
Use three or more -, *, or _.
Quick Input Tip: Type ---, ***, or ___ at the beginning of a line (except the very first line of the document) followed by a Space to automatically convert it to a horizontal rule.
Task Lists
Tip blocks
Use container syntax to create different types of tip blocks; they render as styled div.markdown-container (markdown-it-container style). Two equivalent syntaxes are supported:
- Triple-colon:
:::type…:::— standard container directive, supports{title="Title"}attribute. - Double-colon:
::type…:::— shorthand form, opens with two colons at line start and closes with:::, useful for tool-generated content.
Note: Blank lines between the opening line and content are allowed.
Charts
Mermaid Charts
Supports using Mermaid syntax to draw flowcharts, sequence diagrams, Gantt charts, etc.
Embedded Components
You can use React components (MDX) directly in Markdown, such as Ant Design components.
Advanced Table Configuration
You can configure a normal Markdown table as an advanced table using the HTML comment {/* { "chartType": "table" } */}.
Other Chart Types
Similarly, supports rendering various chart types, such as bar charts (bar), pie charts (pie), etc.
Advanced Custom Components (aPaaSify)
Supports using apaasify code blocks to define schema-based advanced components, suitable for custom rendering in aPaaS scenarios.
Note: The content of the
apaasifycode block is usually a JSON object, and the specific field structure depends on the project's custom renderer configuration.
