From a9524e9f197b140f318c75b439bf9f1a3970b6fe Mon Sep 17 00:00:00 2001 From: HelloRusk Date: Wed, 23 Feb 2022 11:55:47 +0900 Subject: add syntax highlighting style --- README.md | 7 +++++++ exampleSite/config.toml | 2 ++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index df7fc90..d9e466d 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,13 @@ footnoteReturnLinkContents = "^" tag = "tags" series = "series" +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + [markup.highlight] + style = "paraiso-dark" # syntax highlighting style + [Params] darkmode = true # set true if you prefer dark mode ``` diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7171c35..2f8fd37 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,6 +19,8 @@ footnoteReturnLinkContents = "^" [markup.goldmark] [markup.goldmark.renderer] unsafe = true + [markup.highlight] + style = "paraiso-dark" [Params] darkmode = true \ No newline at end of file -- cgit v1.2.3