Markdown 基础用法

Markdown 基础用法

标题类型

# This is an H1

## This is an H2

###### This is an H6

序列

## un-ordered list
*   Red
*   Green
*   Blue

## ordered list
1.  Red
2. 	Green
3.	Blue

待办事项

- [ ] 待办事项1
- [ ] list syntax required
- [ ] normal **formatting**, @mentions, #1234 refs
- [ ] incomplete
- [x] completed

代码块


```java
function test() {
  console.log("notice the blank line before this function?");
}
```

```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
```

注脚

You can create footnotes like this[^footnote].

[^footnote]: Here is the *text* of the **footnote**.

表格

说明::--- 代表左对齐 ---:代表右对齐  :---:居中对齐

| First Header  | Second Header |
| ------------- | ------------- |
| Content Cell  | Content Cell  |
| Content Cell  | Content Cell  |

| Left-Aligned  | Center Aligned  | Right Aligned |
| :------------ |:---------------:| -----:|
| col 3 is      | some wordy text | $1600 |
| col 2 is      | centered        |   $12 |
| zebra stripes | are neat        |    $1 |

分割线

Input `******` or `---` on a blank line and press `return` will draw a horizontal line.

目录

Input `[toc]` 

链接

This is [an example](http://example.com/ "Title") inline link.

[This link](http://example.net/) has no title attribute.

文档内部链接

[This link](#节点名称) 

文档内部定义引用

[baidu][]
And then define the link:

[baidu]: http://www.baidu.com/

加粗

**double asterisks**

__double underscores__

Emoji表情

Input emoji with syntax `:smile:`. 

高亮

for example: `==highlight==`. 

录音 录像

<video src="xxx.mp4" />
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值