Markdown_极客玩家大白

Markdown

2022/03/08

目录

超链接

1
2
3
[靠谱-ing](https://www.geekplayers.com)

<https://www.geekplayers.com>

靠谱-ing

https://www.geekplayers.com

列表

1
2
3
4
5
1. 有序列表项 1

2. 有序列表项 2

3. 有序列表项 3
  1. 有序列表项 1

  2. 有序列表项 2

  3. 有序列表项 3

1
2
3
4
5
* 无序列表项 1

* 无序列表项 2

* 无序列表项 3
  • 无序列表项 1

  • 无序列表项 2

  • 无序列表项 3

1
2
- [x] 任务列表 1
- [ ] 任务列表 2
  • 任务列表 1
  • 任务列表 2

强调

1
2
3
4
5
~~删除线~~

**加黑**

*斜体*

删除线

加黑

斜体

标题

1
2
3
4
5
6
# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 六级标题

Tips: # 与标题中间要加空格。

表格

1
2
3
| HEADER1 | HEADER2 | HEADER3 | HEADER4 |
| ------- | :------ | :-----: | ------: |
| content | content | content | content |
HEADER1 HEADER2 HEADER3 HEADER4
content content content content
  1. :—– 表示左对齐
  2. :—-: 表示中对齐
  3. —–: 表示右对齐

代码块

1
print 'Hello, World!'
  1. list item1

  2. list item2

    1
    
    print 'hello'
    

图片

1
![本站favicon](/assets/images/favicon.ico)

本站favicon

锚点

1
* [目录](#目录)

Inline Attribute

Span Inline Attribute 详情参考 https://kramdown.gettalong.org/syntax.html#span-ials

Block Inline Attribute 详情参考 https://kramdown.gettalong.org/syntax.html#block-ials

给块/元素添加 class、id、内嵌样式等:

1
2
3
4
5
![本站favicon](/assets/images/favicon.ico){:.center}

Hello, *world*{:#world} 

Hello, *world*{: style="color:red"} 

本站favicon

Hello, world

Hello, world

结合自定义的样式,有些场景比较有用。

Emoji

:camel: :blush: :smile:

Footnotes

This is a text with footnote1.

mermaid

sequenceDiagram Alice-->>John: Hello John, how are you? John-->>Alice: Great!

sequence

Andrew->China: Says Hello
Note right of China: China thinks\nabout it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!

flowchart

st=>start: Start
e=>end
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?
io=>inputoutput: catch something...

st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1

mathjax

When \((a \ne 0)\), there are two solutions to \((ax^2 + bx + c = 0)\) and they are

\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]

mindmap

# topic
## topic2
### topic2.1
### topic2.2
## topic3
<!--Note-->
这是一个备注
<!--/Note-->
### topic3.1
### topic3.2
#### topic3.2.1
#### topic3.2.2
#### topic3.2.3
#### topic3.2.4
#### topic3.2.5
### topic3.4
### topic3.5
### topic3.6
  1. Here is the footnote 1 definition. 

版权声明

  • 本文作者:极客玩家大白
  • 本文链接:https://geekplayers.com/wiki/markdown/
  • 郑重声明:本文为博主原创或经授权转载的文章,欢迎转载,但转载文章之后必须在文章页面明显位置注明出处,否则保留追究法律责任的权利。如您有任何疑问或者授权方面的协商,请留言。


一个有故事的程序员

(转载本站文章请注明作者和出处 极客玩家大白

点击了解 :.NET技术人的网站