这是引用


这里是摘要

这里是更多内容

额外的头部字段

  • author: 设置作者则会显示
  • email: 自动根据邮箱获取 Gravatar 头像
  • toc: 是否显示目录(文章 post 默认显示,页面 post 默认不显示)
  • readmore: 将会首页卡片摘要末尾强制显示一个 阅读更多 按钮
  • hideTime: 强制隐藏时间显示

title: xxx
author: 云游君
email: me@yunyoujun.cn
readmore: true
hideTime: true

description: 描述(只出现在预览卡片上,不出现在正文中)(默认使用 400 字重以表强调,略细于加粗字体)
excerpt: 摘要(不需要在 Front-matter 中设置,通过 截断实现,预览卡片与正文中均出现)


title: xxx
description: xxxxxxx

此处是 hexo-theme-yun 对默认 Markdown 一些样式的扩展。

Primary

Success

Warning

Danger

Info

Gray

Yellow

使用方式
<div class="primary">

> Primary

</div>
<div class="success">

> Success

</div>

<div class="warning">

> Warning

</div>

<div class="danger">

> Danger

</div>

<div class="info">

> Info

</div>

<div class="gray">

> Gray

</div>

<div class="yellow">
> Yellow
</div>

Details 折叠
Summary Content
<details>
  <summary>Summary</summary>
  Content
</details>