aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/TODOs.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-06 09:30:19 -0300
committerEuAndreh <eu@euandre.org>2021-06-06 09:30:19 -0300
commit81643ca1677593291d2024ace4f25b2885c888d4 (patch)
treecf9461f047dac5c0612c097b3dfc9ef83d04bf91 /aux/workflow/TODOs.sh
parentsrc/remembering.sh: Use tabs for separating options columns (diff)
downloadremembering-81643ca1677593291d2024ace4f25b2885c888d4.tar.gz
remembering-81643ca1677593291d2024ace4f25b2885c888d4.tar.xz
aux/: Use tabs over spaces for .sh files
Diffstat (limited to 'aux/workflow/TODOs.sh')
-rwxr-xr-xaux/workflow/TODOs.sh31
1 files changed, 16 insertions, 15 deletions
diff --git a/aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh
index d177984..ae38fc7 100755
--- a/aux/workflow/TODOs.sh
+++ b/aux/workflow/TODOs.sh
@@ -14,18 +14,19 @@ TAGS_REGEX='s/tag:([\w-]+)/<span class="tag">\1<\/span>/g'
sed -e "s:@PROJECT_UC@:$PROJECT_UC:g" \
-e "s:@PROJECT@:$PROJECT:g" \
-e "s:@MAILING_LIST@:$MAILING_LIST:g" < aux/workflow/preamble.md | \
- printf '%s\n\n%s' \
- "$(cat -)" \
- "$(perl -pe "$TODOS_REGEX" TODOs.md | \
- perl -pe "$TAGS_REGEX")" | \
- pandoc --toc \
- --highlight-style pygments \
- --toc-depth=2 \
- -s \
- --metadata title="$PROJECT_UC - TODOs" \
- --metadata lang=en \
- -r commonmark \
- -w html \
- -H aux/workflow/favicon.html \
- -H aux/workflow/style.css \
- > public/TODOs.html
+ printf \
+ '%s\n\n%s' \
+ "$(cat -)" \
+ "$(perl -pe "$TODOS_REGEX" TODOs.md | perl -pe "$TAGS_REGEX")" | \
+ pandoc \
+ --toc \
+ --highlight-style pygments \
+ --toc-depth=2 \
+ -s \
+ --metadata title="$PROJECT_UC - TODOs" \
+ --metadata lang=en \
+ -r commonmark \
+ -w html \
+ -H aux/workflow/favicon.html \
+ -H aux/workflow/style.css \
+ > public/TODOs.html