Sample:
osascript export-selected.scpt \
| saxon -xsl:enml2xhtml.xslt -s:- \
| pandoc -f html -t markdown_strict \
> output.md
open -a marked output.md
Install the dependies:
$ brew install haskell-platform saxon
$ cabal update
$ cabal install pandoc