From 62313e4132c579816a209b7614c2dcd7241dcc06 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 16 Jan 2021 09:05:40 -0300 Subject: build-aux/workflow: add lang metadata and syntax-highlighting --- build-aux/workflow/TODOs.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'build-aux/workflow/TODOs.sh') diff --git a/build-aux/workflow/TODOs.sh b/build-aux/workflow/TODOs.sh index 036ce13..8100eb8 100755 --- a/build-aux/workflow/TODOs.sh +++ b/build-aux/workflow/TODOs.sh @@ -8,7 +8,10 @@ export MAILING_LIST="$3" envsubst < build-aux/workflow/preamble.rst | \ cat - TODOs.rst | \ - pandoc --toc \ - --toc-depth=2 \ - -s --metadata title="$1 - TODOs" \ - -r rst -w html > public/TODOs.html + pandoc --toc \ + --highlight-style pygments \ + --toc-depth=2 \ + -s \ + --metadata title="$1 - TODOs" \ + --metadata lang=en \ + -r rst -w html > public/TODOs.html -- cgit v1.2.3