diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-18 15:35:50 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-18 15:35:50 +1200 |
commit | 7a5cfd1dca26299abb9c29a32d7ecf0d7668a095 (patch) | |
tree | 36bc91a34f4650610384d8166cd4d905847bfffa /bin/mdurls | |
parent | markdown(1) can't into option terminators (diff) | |
download | dotfiles-7a5cfd1dca26299abb9c29a32d7ecf0d7668a095.tar.gz dotfiles-7a5cfd1dca26299abb9c29a32d7ecf0d7668a095.zip |
Swap pandoc(1) for markdown(1)
> <REDACTED> OPTIONS Use "--" to end switch parsing.
> <REDACTED> are you using the wrong markdown
> <tejr> yeah checking versions
> <REDACTED> 1.0.1 is the one I quoted
> <tejr> ah
> <tejr> it's documented, but does not work :^)
> <tejr> $ pandoc -f markdown -t html -- /home/tom/.dotfiles/README.markdown
> <tejr> based pandoc(1)
> <REDACTED> hahaha
> <REDACTED> welp
> <tejr> welp indeed
Diffstat (limited to 'bin/mdurls')
-rwxr-xr-x | bin/mdurls | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,10 +9,10 @@ # # Check we have the programs we need -hash markdown htmlurls || exit +hash pandoc htmlurls || exit # Pipe the output of markdown(1) on our args ... -markdown "${@:-/dev/stdin}" | +pandoc -f markdown -t html -- "${@:-/dev/stdin}" | # ... into our own htmlurls htmlurls |