Hexo note

置顶:

在Front-matter中加入:

1
$ sticky: 100 <!--数字越大排序越前-->

加载html:

  • 在md[1]中加入:
1
<iframe src="filename.html" width="700" height="800"></iframe>
  • 要避免hexo渲染此html,在_config.yml写入:
1
2
skip_render:
'_posts/文件夹名/文件名.html'

加载pdf

使用hexo-pdf插件,下载:

1
$ npm install hexo-pdf --save

md插入pdf:

1
{% pdf ./filename.pdf %}

勾选框

1
2
3
{% cb text, checked?, inline? %}
<!--first line--> {%cb true} Completed
<!--second line--> {%cb false} In progress

Completed

In progress


脚注|参考

This is a footnote[2].

  1. markdown
  2. foot note

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!