From cd717b83f871e3c8782906b5d469670a6633e297 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Fri, 1 May 2020 14:53:16 +0900 Subject: [PATCH] Enable `hugo` code highlightening. --- config/_default/config.toml | 6 +++++- config/staging/config.toml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 5944ab1..7a1a686 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -13,4 +13,8 @@ theme = "angels-ladder" copyright = "Written by Kazuhiro MUSASHI" [markup] - defaultMarkdownHandler = "blackfriday" + + [markup.highlight] + codeFences = true + guessSyntax = true + style = "monokai" diff --git a/config/staging/config.toml b/config/staging/config.toml index 7462554..de69fab 100644 --- a/config/staging/config.toml +++ b/config/staging/config.toml @@ -13,4 +13,8 @@ theme = "angels-ladder" copyright = "Written by Kazuhiro MUSASHI" [markup] - defaultMarkdownHandler = "blackfriday" + + [markup.highlight] + codeFences = true + guessSyntax = true + style = "monokai"