hexo使用笔记整理

hexo使用笔记整理

[不蒜子]文章阅读次数

百度统计

注意:百度统计需要等待20分钟左右才生效。

Hexo使用攻略-添加分类及标签

1
hexo new page -p hexo/hexo使用笔记整理.md

阅读更多设置

1、采用more指令

推荐 <!-- more -->

2、front-matter添加description 推荐

3、按照字数来自动截取 不推荐

我采用hexo-asset-image插件,一直不生效,然后采用了hexo-image-link插件,完美兼容了typora和hexo

Hexo框架图片引用处理的两种思路和原理分析

支持数学公式

让 Hexo Next (v8.0.0) 支持 LaTeX 数学公式

math:
  # Default (false) will load mathjax / katex script on demand.
  # That is it only render those page which has `mathjax: true` in front-matter.
  # If you set it to true, it will load mathjax / katex script EVERY PAGE.
  every_page: false

  mathjax:
    enable: true
    # Available values: none | ams | all
    tags: ams

ams 表示自动编号

支持多种评论

utterances