测试一下Front-matter

标签插件

标签插件用于在文章中快速插入特定内容的插件。

引用块

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

别号:quote

{% blockquote [author[, source]] [link] [source_link_title] %}
    content
    {% endblockquote %}

举个栗子

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

{% 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.
    {% endblockquote %}

输出结果如下:

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.

引用书上的句子。

{% blockquote David Levithan, Wide Awake %}
    Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
    {% endblockquote %}

输出结果如下:

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

David Levithan–Wide Awake

引用Twitter

{% blockquote @DevDocs https://twitter.com/devdocs/status/356095192085962752 %}
    NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
    {% endblockquote %}

输出结果如下:

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

@DevDocstwitter.com/devdocs/status/356095192085962752

-------------本文结束感谢您的阅读-------------
mstguo wechat
欢迎扫描微信公众号,订阅乐乐如是说!