Appearance
Markdown syntax guide
Headers
IMPORTANT
asdfasdfasdfas
This is a Heading h1 test
This is a Heading h2
This is a Heading h6
NOTE
强调用户在快速浏览文档时也不应忽略的重要信息。
TIP
有助于用户更顺利达成目标的建议性信息。
IMPORTANT
对用户达成目标至关重要的信息。
WARNING
因为可能存在风险,所以需要用户立即关注的关键内容。
CAUTION
行为可能带来的负面影响。
STOP
危险区域,请勿继续
点我查看代码
js
console.log('Hello, VitePress!')
INFO
This is an info box.
TIP
This is a tip.
WARNING
This is a warning.
DANGER
This is a dangerous warning.
Details
This is a details block.
🎉 💯
2
Markdown Content
The count is: 0
Emphasis
This text will be italic
This will also be italic
This text will be bold
This will also be bold
You can combine them
Lists
Unordered
- Item 1
- Item 2
- Item 2a
- Item 2b
Ordered
- Item 1
- Item 2
- Item 3
- Item 3a
- Item 3b
Images
Links
You may be using Markdown Live Preview.
Blockquotes
Markdown is a lightweight markup language with plain-text-formatting syntax, created in 2004 by John Gruber with Aaron Swartz.
Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.
Tables
Left columns | Right columns |
---|---|
left foo | right foo |
left bar | right bar |
left baz | right baz |
Blocks of code
let message = 'Hello world';
alert(message);
Inline code
This web site is using markedjs/marked
.