summaryrefslogtreecommitdiffstats
path: root/main.scm
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-07-08 20:20:26 +0300
committerJan Tuomi <jan@jantuomi.fi>2024-07-08 20:20:26 +0300
commit3b9d6fa8c16a7c20a445574805f4091f67d5d460 (patch)
tree390930ea4c7f87ae73c7443b378a0bb915a6d840 /main.scm
parent0a2c7230225e80942380d4f2f90e47c5cb7a197b (diff)
Override highlight theme with custom CSS
Diffstat (limited to 'main.scm')
-rw-r--r--main.scm5
1 files changed, 4 insertions, 1 deletions
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)