Markdown Tips
This is just a test of awesome Jekyll static website generator.
###Block Elements
####段落 (PARAGRAPH)
连续的行就会自然地形成段落,如果出现空行,则会自动分段
你瞧,是不是分段了?因为我真的空了一行:)
####标题 (HEADER)
Setext-style
在一行文字下加任意数量的=和-就分别得到一级标题和二级标题
This is an H1
This is an H2
Atx-style
在一行文字前加 1 到 6 个 # 就让这行文字变成标题
This is an H1
This is an H2
This is an H6
块引用 (BLOCKQUOTE)
This is a blockquote with two paragraphs. This is a blockquote with two paragraphs. This is a blockquote with two paragraphs.
This is a blockquote with two paragraphs. This is a blockquote with two paragraphs.
列表 (LIST)
中文的列表有问题,必须把markdown引擎由默认的 maruku 换成 rdiscount 或者其他的。
在配置文件 _config.yml
中添上
markdown: rdiscount
- 星号可以
- 加号亦可
- 减号居然也可以
- 随便什么数字也行,靠,还又没天理?
代码块 (CODE BLOCK)
This is a normal paragraph:
This is a code block.
水平线 (HORIZONTAL RULE)
行内元素 (SPAN ELEMENT)
链接 (LINK)
This is google inline link.
No title has no title attribute.
This is relative link on the same server.
This is an example reference-style link.
强调 (EMPHASIS)
这是单星号
这是_单下划线_
双星号牛逼一些
__双下划线__和上面是一样的
*货真价实被双星号包围的感觉不错吧*
代码 (CODE)
Use the printf()
function.
There is a literal backtick (`) here.
A single backtick in a code span: `
A backtick-delimited string in a code span: `foo`