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 +++++++---- build-aux/workflow/preamble.rst | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) 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 diff --git a/build-aux/workflow/preamble.rst b/build-aux/workflow/preamble.rst index 45688aa..87e22ae 100644 --- a/build-aux/workflow/preamble.rst +++ b/build-aux/workflow/preamble.rst @@ -3,7 +3,7 @@ About TODOs for $PROJECT_UC. -See `$PROJECT.euandreh.xyz`_. +See also `$PROJECT.euandreh.xyz`_. Register a new one: `~euandreh/$MAILING_LIST@lists.sr.ht`_. -- cgit v1.2.3