Breaking Change
-
更改子目錄的寫法,與父目錄一致
-
移除 artitalk (如需要,請安裝 hexo-butterfly-artitalk)
-# Artitalk -# see https://artitalk.js.org/ -artitalk: - appId: - appKey: - option: CDN: - artitalk: https://cdn.jsdelivr.net/npm/artitalk
-
katex_copytex 的js 和 css cdn 更換
-katex_copytex: https://cdn.jsdelivr.net/npm/katex-copytex@latest/dist/katex-copytex.min.js -katex_copytex_css: https://cdn.jsdelivr.net/npm/katex-copytex@latest/dist/katex-copytex.min.css +katex_copytex: https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/copy-tex.min.js +katex_copytex_css: https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/copy-tex.css
Feature
-
新增設置代碼高度限制,顯示展開按鈕
+highlight_height_limit: false # unit: px
-
prismjs 也可以配置 code_word_wrap
-
增加 kbd 樣式 #507
-
添加waline,valine 和twikoo 提供的文章閲讀數配置 #502
valine: + visitor: false waline: + visitor: false twikoo: + visitor: false
-
增加 HexoPlusPlus_Talk(需要安裝 hexo-butterfly-hpptalk)
-
增加 tags 標簽外掛 inlineImg
-
gitalk 增加 option 配置
gitalk: createIssueManually: false # Gitalk will create a corresponding github issue for your every single page automatically + option:
Fix
- 修復prismjs 在 ios safari 下自動換行的bug
- 修復默認代碼大小不會隨着字體放大/放小而改變的bug
- 修復prismjs 無法識別的語言 顯示 null 而不是顯示 code 的 bug
- 在完全沒有配置的情況下,運行時控制台報null 的問題