【Markdown】常用语法demo
Youga 8/10/2022 Markdown
demo2:
demo component
# H123456
H1
# demo
H2
## demo
H3
### demo
H4
#### demo
H5
##### demo
H6
###### demo
# LINK 链接
go to Home
go to Markdown
go to google (opens new window)
go to http://google.com/ (opens new window)
go to [Home](/)
go to [Markdown](/markdown)
go to [google](http://google.com 'google')
go to <http://google.com/>
# Table 表格
序号 | name | age |
---|---|---|
1 号 | David | 20 |
2 号 | John | 23 |
3 号 | Lisa | 18 |
| 序号 | name | age |
| ---- | :---: | --: |
| 1 号 | David | 20 |
| 2 号 | John | 23 |
| 3 号 | Lisa | 18 |
# 文字类
# icon 字符
恭喜啦 🎉 不错哦 💯
恭喜啦 :tada:
不错哦 :100:
# 组件链接图标
google (opens new window)
<a href="http://google.com" >google</a><OutboundLink />
# 组件徽章图标 Badge
徽章图标 警告 错误<Badge text="徽章图标"/>
<Badge text="警告" type="warning"/>
<Badge text="错误" type="error"/>
# 小标题行
title: It is title lang: en-US
---
title: It is title
lang: en-US
---
# font style
文字样式:斜体 粗体 删除
文字样式:_斜体_ **粗体** ~~删除~~
# 嵌套
content1
content2
content3
> content1
> content2
>
> > content3
# list
- 123
- 123
- 123
- 456
- 456
- 456
- 123
* 123
- 123
1. 456
2. 456
3. 456
# image
# 标签可直接编译
1 2 3
<span v-for="i in 3">{{ i }} </span>
# 标签不被编译
<demo/>
`<demo/>`
# 代码块
```javascript
function demo() {
console.log('ok');
return {
value: 'name'
};
}
demo();
```;