mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
breaking change: 增加 macstyle 配置,取消配置 mac / mac light 主題
feat: 可更改文章標題位置 feat: 增加代碼全屏 improvement: 當代碼塊 toolbar 其它功能設為 false 時, 仍能顯示 macstyle improvement: 優化文章標題在左邊時,不同寬度的位置顯示 improvement: 代碼優化
This commit is contained in:
1 parent
ae35499658
commit
f74ede6d15
11 files changed
+189
-113
No files matched your search
@@ -67,7 +67,7 @@ npm i hexo-theme-butterfly
|
|||||||
- [x] Read Mode
|
- [x] Read Mode
|
||||||
- [x] Conversion between Traditional and Simplified Chinese
|
- [x] Conversion between Traditional and Simplified Chinese
|
||||||
- [X] TOC catalog is available for both computers and mobile phones
|
- [X] TOC catalog is available for both computers and mobile phones
|
||||||
- [X] Built-in Syntax Highlighting Themes (darker/pale night/light/ocean/mac/mac light), also support customization
|
- [X] Built-in Syntax Highlighting Themes (darker/pale night/light/ocean), also support customization
|
||||||
- [X] Code Blocks (Display code language/close or expand Code Blocks/Copy Button/word wrap)
|
- [X] Code Blocks (Display code language/close or expand Code Blocks/Copy Button/word wrap)
|
||||||
- [X] Disable copy/Add a Copyright Notice to the Copied Text
|
- [X] Disable copy/Add a Copyright Notice to the Copied Text
|
||||||
- [X] Search (Algolia Search/Local Search)
|
- [X] Search (Algolia Search/Local Search)
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ theme: butterfly
|
|||||||
- [x] 文章閲讀模式
|
- [x] 文章閲讀模式
|
||||||
- [x] 簡體和繁體轉換
|
- [x] 簡體和繁體轉換
|
||||||
- [X] 電腦和手機都可查看TOC目錄
|
- [X] 電腦和手機都可查看TOC目錄
|
||||||
- [X] 內置多種代碼配色(darker/pale night/light/ocean/mac/mac light),可自定義代碼配色
|
- [X] 內置多種代碼配色(darker/pale night/light/ocean),可自定義代碼配色
|
||||||
- [X] 代碼塊顯示代碼語言/關閉或展開代碼塊/代碼複製/代碼自動換行
|
- [X] 代碼塊顯示代碼語言/關閉或展開代碼塊/代碼複製/代碼自動換行
|
||||||
- [X] 可關閉文字複製/可開啟內容複製增加版權信息)
|
- [X] 可關閉文字複製/可開啟內容複製增加版權信息)
|
||||||
- [X] 兩種搜索( Algolia 搜索和本地搜索)
|
- [X] 兩種搜索( Algolia 搜索和本地搜索)
|
||||||
|
|||||||
+8
-3
@@ -22,12 +22,16 @@ menu:
|
|||||||
# Code Blocks (代碼相關)
|
# Code Blocks (代碼相關)
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false
|
highlight_theme: light # darker / pale night / light / ocean / false
|
||||||
|
highlight_height_limit: false # unit: px
|
||||||
|
code_word_wrap: false
|
||||||
|
|
||||||
|
# highlight toolbar
|
||||||
|
highlight_theme_macStyle: false # use mac style
|
||||||
highlight_copy: true # copy button
|
highlight_copy: true # copy button
|
||||||
highlight_lang: true # show the code language
|
highlight_lang: true # show the code language
|
||||||
highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
|
highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
|
||||||
highlight_height_limit: false # unit: px
|
highlight_fullpage: true # true: add button to toggle full page
|
||||||
code_word_wrap: false
|
|
||||||
|
|
||||||
# Social Settings (社交圖標設置)
|
# Social Settings (社交圖標設置)
|
||||||
# formal:
|
# formal:
|
||||||
@@ -108,6 +112,7 @@ post_meta:
|
|||||||
tags: false # true or false 主頁是否顯示標籤
|
tags: false # true or false 主頁是否顯示標籤
|
||||||
label: true # true or false 顯示描述性文字
|
label: true # true or false 顯示描述性文字
|
||||||
post:
|
post:
|
||||||
|
position: left # left or center 文章頁標題位置
|
||||||
date_type: both # created or updated or both 文章頁日期是創建日或者更新日或都顯示
|
date_type: both # created or updated or both 文章頁日期是創建日或者更新日或都顯示
|
||||||
date_format: date # date/relative 顯示日期還是相對日期
|
date_format: date # date/relative 顯示日期還是相對日期
|
||||||
categories: true # true or false 文章頁是否顯示分類
|
categories: true # true or false 文章頁是否顯示分類
|
||||||
|
|||||||
Loaded 3 of 11 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user