From d1e184974c02c120cd94801b0614a284c01b335d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 17 Jan 2021 15:03:06 -0300 Subject: build-aux/workflow/: Stop relying on pandoc specific markdown capabilities --- build-aux/workflow/TODOs.sh | 6 ++++-- build-aux/workflow/style.css | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'build-aux/workflow') diff --git a/build-aux/workflow/TODOs.sh b/build-aux/workflow/TODOs.sh index 3ccd57b..58fbd3c 100755 --- a/build-aux/workflow/TODOs.sh +++ b/build-aux/workflow/TODOs.sh @@ -6,7 +6,7 @@ export PROJECT_UC="$1" export PROJECT="$2" export MAILING_LIST="$3" -REGEX='s/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE) (.*) \{(#.*?)\}$/## \1<\/span> \2 {\3}\n\3<\/a>\n/' +REGEX='s/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE) (.*) \{#(.*?)\}$/## \1<\/span> \2<\/a>\n#\3<\/span>\n/' envsubst < build-aux/workflow/preamble.md | \ printf '%s\n\n%s' "$(cat -)" "$(perl -pe "$REGEX" TODOs.md)" | \ @@ -17,4 +17,6 @@ envsubst < build-aux/workflow/preamble.md | \ --metadata title="$1 - TODOs" \ --metadata lang=en \ -H build-aux/workflow/style.css \ - -r markdown -w html > public/TODOs.html + -r markdown \ + -w html \ + > public/TODOs.html diff --git a/build-aux/workflow/style.css b/build-aux/workflow/style.css index a4ac27a..ac0144c 100644 --- a/build-aux/workflow/style.css +++ b/build-aux/workflow/style.css @@ -3,7 +3,7 @@ background-color: #ccc; } - a.header-anchor { + span.header-anchor { opacity: 0.5; } -- cgit v1.2.3