summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-15 00:55:41 +0800
committerReorx <novoreorx@gmail.com>2022-04-15 00:55:41 +0800
commit33c1ba12e22ec939cd4c85186c243b6617a28527 (patch)
treee08a98331141711727c94ca47653853ecde34872 /Makefile
parent60380fe684fb6db6c75ce9f4863f1047e6566649 (diff)
use hugo's builtin Chroma for code highlight
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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