Optimised output
This commit is contained in:
parent
082e863908
commit
acd817e7e1
@ -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>
|
||||
|
4
tape.sh
4
tape.sh
@ -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 ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user