Merge pull request 'test pull request please ignore' (#1) from tech into main
Reviewed-on: #1
This commit is contained in:
commit
060b67dfdc
@ -19,7 +19,7 @@ include(`m4/lib.m4')dnl
|
|||||||
esyscmd(`awk -f awk/getlinks.awk dat/links.csv')dnl
|
esyscmd(`awk -f awk/getlinks.awk dat/links.csv')dnl
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
esyscmd(`./tape.sh' _INFILE)
|
esyscmd(`./tape.sh' _INFILE)dnl
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
4
tape.sh
4
tape.sh
@ -11,8 +11,8 @@ elif test -z "$*"; then
|
|||||||
fi
|
fi
|
||||||
case $1 in
|
case $1 in
|
||||||
_INFILE) err "Passed raw macro."; exit 1;;
|
_INFILE) err "Passed raw macro."; exit 1;;
|
||||||
*.txti) redcloth "$1" ;;
|
*.txti) redcloth "$1" | sed '/^$/d;s/^\s\{1,\}//';;
|
||||||
*.org) org-ruby --translate html "$1" ;;
|
*.org) org-ruby --translate html "$1" | sed '/^$/d;s/^\s\{1,\}//';;
|
||||||
*.md) comrak --gfm "$1" ;;
|
*.md) comrak --gfm "$1" ;;
|
||||||
*.html) cat $1 ;;
|
*.html) cat $1 ;;
|
||||||
*.s[ac]ss) err "Told to render $1, shouldn't happen"; exit 1 ;;
|
*.s[ac]ss) err "Told to render $1, shouldn't happen"; exit 1 ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user