Skip to content

Commit

Permalink
I must have been drunk when I first wrote the offline script… oh well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Zeitler committed Aug 10, 2013
1 parent 04e1007 commit 613b3f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 43)Markdownify.kmmacros
Expand Up @@ -106,7 +106,7 @@
# setenv LANG en_US.UTF-8 #older systems
export LANG=en_US.UTF-8 #umlauts

if [[ -x /usr/local/bin/pandoc ]] || [[ -x /bin/pandoc ]] || [[ -x /Users/`whoami`/bin/pandoc ]] || [[ -x /Users/`whoami`/.bin/pandoc ]]; then
if [[ -x /usr/local/bin/pandoc ]] || [[ -x /bin/pandoc ]] || [[ -x $HOME/bin/pandoc ]] || [[ -x $HOME/.bin/pandoc ]]; then
# pandoc is installed
echo "$KMVAR_MMD__Markdownify" | /usr/local/bin/pandoc -f html -t markdown --no-wrap --reference-links
fi
Expand Down Expand Up @@ -517,7 +517,7 @@ curl --url "http://heckyesmarkdown.com/go/" --data-urlencode "html=$KMVAR_MMD__M
<key>IsActive</key>
<true/>
<key>ModificationDate</key>
<real>397841358.36441702</real>
<real>397851932.11161399</real>
<key>Name</key>
<string>43)Markdownify</string>
<key>Triggers</key>
Expand Down

0 comments on commit 613b3f5

Please sign in to comment.