From 3b9d6fa8c16a7c20a445574805f4091f67d5d460 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 8 Jul 2024 20:20:26 +0300 Subject: Override highlight theme with custom CSS --- main.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main.scm') diff --git a/main.scm b/main.scm index 672777c..c92081b 100644 --- a/main.scm +++ b/main.scm @@ -209,7 +209,10 @@ "-o" html-path "--standalone" "--template" template-path - "--highlight-style" "breezedark")) + ;; any style is ok here, the styles are overriden with CSS + ;; to support dark and light themes. + ;; --no-highlight would produce a non-formatted output + "--highlight-style" "pygments")) (define output-port (process "pandoc" args)) ;; read and discard output in order to wait for completion (read-string #f output-port) -- cgit v1.3