From 33c1ba12e22ec939cd4c85186c243b6617a28527 Mon Sep 17 00:00:00 2001 From: Reorx Date: Fri, 15 Apr 2022 00:55:41 +0800 Subject: use hugo's builtin Chroma for code highlight --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 289e23a..1c878f8 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,6 @@ run-example: cd exampleSite && hugo server -D --gc -p 13131 + +chroma-css: + hugo gen chromastyles --style=dracula > assets/css/lib/chroma-dark.css + hugo gen chromastyles --style=github > assets/css/lib/chroma-light.css -- cgit v1.2.3