Optimised output

This commit is contained in:
Atlas Cove 2023-02-19 16:34:10 +00:00
parent 082e863908
commit acd817e7e1
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 ;;