aboutsummaryrefslogtreecommitdiff
path: root/markdown2html
blob: 50d7a7e2a0ca5f34bcd87afd06f2d558360b4acd (plain)
1
2
3
4
5
6
7
#!/bin/sh -e
# converts markdown to HTML 
[ -n "$(which pandoc)" ] || {
    echo >&2 "You need 'pandoc' to use this program!"
    exit 1
}
iconv -t utf-8 $* | pandoc