• Home
  • About
    • Brant photo

      Brant

      石纪 Brant Shi的个人博客.

    • Learn More
    • Email
    • Github
  • Posts
    • All Posts
    • All Tags
  • Projects

MarkDown小结

20 Aug 2019

Reading time ~1 minute

序言

本文将简单列举,记录所有MarkDown语言中常见,实用,且在本博客框架下效果美观的语法,以方便自己在未来写博客的过程中复习回顾这些语法技巧。

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

文章主体部分

实现粗体强调:This is strong.

实现斜体强调:This is emphasized.

HTML and CSS 语言也可在MarkDown语言中使用,例如图片,链接的引入,换行符分隔符等等,可能是同为标记语言的缘故。

整段引用

Lorem ipsum dolor sit amet, test link adipiscing elit. Nullam dignissim convallis est. Quisque aliquam.


列表构建

有序列表

  1. Item one
    1. sub item one
    2. sub item two
    3. sub item three
  2. Item two

无序列表

  • Item one
  • Item two
  • Item three

    表单构建(table)

Header1 Header2 Header3
cell1 cell2 cell3
cell4 cell5 cell6
cell1 cell2 cell3
cell4 cell5 cell6
Foot1 Foot2 Foot3


代码引入

两种共有两种引入方法,可根据具体情况做出选择。 <!–>

<–>

#container {
  float: left;
  margin: 0 -240px 0 0;
  width: 100%;
}
conda install pip

Buttons

适当使用.btn可使链接更加地鲜明,突出。 Make any link standout more when applying the `.btn` class. <-->

<a href="#" class="btn btn-success">Success Button</a>
Primary Button
Success Button
Warning Button
Danger Button
Info Button


KBD

使用 <kbd>标签可制造键盘按键效果。

<kbd>W</kbd><kbd>A</kbd><kbd>S</kbd><kbd>D</kbd>

Press WASD to move your car.


Notices(突出提示)

可通过使用{: .notice}来使一整个段落被强调,用作提示。



MarkDown Share Tweet +1