aboutsummaryrefslogtreecommitdiff
path: root/bin/murl.sh
blob: 91304aa1708a6ac920b908a8795ffa5437ba5103 (plain) (blame)
1
2
3
4
5
# Format markdown and pass it to hurl to extract URLs from it.

# Pipe the output of pandoc(1) on our args into hurl(1df)
pandoc -f markdown -t html -- "${@:-/dev/stdin}" |
hurl