diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-16 09:03:27 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-16 09:03:27 -0300 |
| commit | 6f9e1114122afb047ede8392c1def037c104aac4 (patch) | |
| tree | c19e96774ce0ec358becbce2e763cc248cc017de /bash | |
| parent | gc-nix.sh: Source colors.sh (diff) | |
| download | dotfiles-6f9e1114122afb047ede8392c1def037c104aac4.tar.gz dotfiles-6f9e1114122afb047ede8392c1def037c104aac4.tar.xz | |
fake-symlinks: Add lang metadata and syntax highlighting to the generated TODOs.html
Diffstat (limited to 'bash')
| -rwxr-xr-x | bash/templates/build-aux/workflow/TODOs.sh | 11 | ||||
| -rw-r--r-- | bash/templates/build-aux/workflow/preamble.rst | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/bash/templates/build-aux/workflow/TODOs.sh b/bash/templates/build-aux/workflow/TODOs.sh index 036ce13e..f080001a 100755 --- a/bash/templates/build-aux/workflow/TODOs.sh +++ b/bash/templates/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/bash/templates/build-aux/workflow/preamble.rst b/bash/templates/build-aux/workflow/preamble.rst index 45688aa1..87e22ae5 100644 --- a/bash/templates/build-aux/workflow/preamble.rst +++ b/bash/templates/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`_. |
