From 04a16c2c6173125bd00ecb38debdf17035a4ec98 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Thu, 2 Jan 2025 11:32:13 +0800 Subject: [PATCH] [build] change syntax_highlighter to prismjs --- _config.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/_config.yml b/_config.yml index 1552d2c..43b7da6 100644 --- a/_config.yml +++ b/_config.yml @@ -44,13 +44,12 @@ render_drafts: false post_asset_folder: false relative_link: true future: true -highlight: - enable: true +syntax_highlighter: prismjs +prismjs: + preprocess: true line_number: true - auto_detect: false - tab_replace: '' - wrap: true - hljs: false + line_threshold: 0 + tab_replace: "" # Home page setting # path: Root path for your blogs index page. (default = '')