blob: d11b738122d70425decc69c39d8ff86cd4980648 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
cd "$(dirname $0)/html-converters/"
case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in
*.markdown|*.mdown|*.md|*.mkd) exec /filters/markdown_filter.py; ;;
*.rst) exec ./rst2html; ;;
*.[1-9]) exec ./man2html; ;;
*.htm|*.html) exec cat; ;;
*.txt|*) exec ./txt2html; ;;
esac
|