Merge pull request 'test pull request please ignore' (#1) from tech into main

Reviewed-on: #1
This commit is contained in:
Atlas Cove 2023-02-19 16:37:40 +00:00
commit 060b67dfdc
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 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>

View File

@ -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 ;;