#!/bin/sh
#
# murl - format markdown and pass it to hurl to extract URLs from it

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