From f3112174233421929115b2b1ccf7d88fae820cba Mon Sep 17 00:00:00 2001 From: NAVERON Date: Mon, 16 Oct 2023 23:31:52 +0800 Subject: [PATCH] bugfix for line number and mermaid theme --- _config.yml | 8 ++------ _includes/mermaid_config.js | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index 66ae530..d2d2a83 100644 --- a/_config.yml +++ b/_config.yml @@ -12,11 +12,11 @@ nav_external_links: - title: evs on github url: "https://github.com/NAVERON/naveron.github.io" hide_icon: false - opens_in_new_tab: true + opens_in_new_tab: false - title: evs on bilibili url: "https://space.bilibili.com/89060131" hilde_icon: false - opens_in_new_tab: true + opens_in_new_tab: false # set back to top back_to_top: true @@ -33,10 +33,6 @@ mermaid: # For copy button on code blocks enable_copy_code_button: true -kramdown: - syntax_highlighter_opts: - block: - line_numbers: true # callout configs callouts: diff --git a/_includes/mermaid_config.js b/_includes/mermaid_config.js index aecddce..e5192e3 100644 --- a/_includes/mermaid_config.js +++ b/_includes/mermaid_config.js @@ -1,4 +1,4 @@ { - theme: "forest" + theme: "dark" }