Hello world

参数 | 描述 | 默认值
layout | 布局 |
title | 标题 |
date | 建立日期 | 文件建立日期
updated | 更新日期 | 文件更新日期
comments | 开启文章的评论功能 | true
tags | 标签(不适用于分页) |
categories | 分类(不适用于分页) |
permalink | 覆盖文章网址 |

Heading

Sub-heading

Another deeper heading

Paragraphs are separated
by a blank line.

Two spaces at the end of a line leave a
line break.

Text attributes italic, italic, bold, bold, monospace.

Horizontal rule:


Bullet list:

  • apples
  • oranges
  • pears

Numbered list:

  1. apples
  2. oranges
  3. pears

A link.

标签插件(Tag Plugins)
标签插件和 Front-matter 中的标签不同,它们是用于在文章中快速插入特定内容的插件。

引用块
在文章中插入引言,可包含作者、来源和标题。

别号: quote

content

[author[source]] [link] [source_link_title]

样例
没有提供参数,则只输出普通的 blockquote

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.

引用书上的句子

Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.

David LevithanWide Awake

Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.

David LevithanWide Awake
引用 Twitter

NEW: DevDocs now comes with syntax highlighting. http://devdocs.io

NEW: DevDocs now comes with syntax highlighting. http://devdocs.io

@DevDocstwitter.com/devdocs/status/356095192085962752
引用网络上的文章

Every interaction is both precious and an opportunity to delight.

Every interaction is both precious and an opportunity to delight.

Seth GodinWelcome to Island Marketing
代码块
在文章中插入代码。

别名: code

[title] [] [url] [link text]
1
code snippet

样例
普通的代码块

1
alert('Hello World!');

alert(‘Hello World!’);
指定语言

1
[rectangle setX: 10 y: 10 width: 20 height: 20];

[rectangle setX: 10 y: 10 width: 20 height: 20];
附加说明

Array.map
1
array.map(callback[, thisArg])

Array.map
array.map(callback[, thisArg])
附加说明和网址

_.compactUnderscore.js
1
2
_.compact([0, 1, false, 2, '', 3]);
=> [1, 2, 3]

.compactUnderscore.js .compact([0, 1, false, 2, ‘’, 3]);
=> [1, 2, 3]
反引号代码块
另一种形式的代码块,不同的是它使用三个反引号来包裹。

[language] [title] [url] [link text] code snippet
Pull Quote
在文章中插入 Pull quote。

content