资源图标

资源markdown测试 2025-02-07

登录后下载
[MD]
# 1. 标题

**语法**
```
# This is an <h1> tag
## This is an <h2> tag
### This is an <h3> tag
#### This is an <h4> tag
```

**实例**

# This is an h1 tag
## This is an h2 tag
### This is an h3 tag
#### This is an h4 tag

# 2. 强调和斜体

**语法**
```
*This text will be italic*
_This will also be italic_

**This text will be bold**
__This will also be bold__
```
(个人不喜欢2个下划线中间包含的内容被斜体, 会和网址冲突, 我会在自定义博客园样式中去除这个样式.)

**实例**

*This text will be italic*
_This will also be italic_

**This text will be bold**
__This will also be bold__

# 3. 有序列表和无序列表

**语法**
```
* Item 1
* Item 2
* Item 3

1. Item 1
2. Item 2
3. Item 3
```

**实例**
* Item 1
* Item 2
* Item 3

1. Item 1
2. Item 2
3. Item 3

# 4. 图片

**语法**
```
![img-name](img-url)
```

**实例**
![博客园logo](https://news.cnblogs.com/images/logo.gif)

# 5. 超链接

**语法**
```
[link-name](link-url)
```

**实例**

[阿胜4K](http://www.cnblogs.com/asheng2016/)

# 6. 引用

**语法**
```
> 引用本意是引用别人的话之类
> 但我个人喜欢把引用当成"注意"使用
```

**实例**

> If you please draw me a sheep!
> 不想当将军的士兵, 不是好士兵.

# 7. 单行代码

**语法**
```
`This is an inline code.`
```

**实例**

`同样的单行代码, 我经常用来显示特殊名词`

# 8. 多行代码

**语法**
````
```javascript
for (var i=0; i<100; i++) {
console.log("hello world" + i);
}
```
````

**实例**

```js
for (var i=0; i<100; i++) {
console.log("hello world" + i);
}
```

也可以通过缩进来显示代码, 下面是示例:

console.loe("Hello_World");
[/MD]
作者
Subilan
下载
0
查看
31
首次发布
最后更新

Ratings

0.00 星 0 个评分

最新更新

  1. 123

    **123**
后退
顶部 底部