Compare commits

...

2 Commits

Author SHA1 Message Date
Atlas Cove 060b67dfdc Merge pull request 'test pull request please ignore' (#1) from tech into main
Reviewed-on: #1
2023-02-19 16:37:40 +00:00
Atlas Cove acd817e7e1 Optimised output 2023-02-19 16:34:10 +00:00
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ include(`m4/lib.m4')dnl
esyscmd(`awk -f awk/getlinks.awk dat/links.csv')dnl
</div>
<div class="content">
esyscmd(`./tape.sh' _INFILE)
esyscmd(`./tape.sh' _INFILE)dnl
</div>
</body>
</html>

View File

@ -11,8 +11,8 @@ elif test -z "$*"; then
fi
case $1 in
_INFILE) err "Passed raw macro."; exit 1;;
*.txti) redcloth "$1" ;;
*.org) org-ruby --translate html "$1" ;;
*.txti) redcloth "$1" | sed '/^$/d;s/^\s\{1,\}//';;
*.org) org-ruby --translate html "$1" | sed '/^$/d;s/^\s\{1,\}//';;
*.md) comrak --gfm "$1" ;;
*.html) cat $1 ;;
*.s[ac]ss) err "Told to render $1, shouldn't happen"; exit 1 ;;