Skip to content

Instantly share code, notes, and snippets.

@eduardschaeli
Created September 23, 2013 14:01
Show Gist options
  • Save eduardschaeli/6670797 to your computer and use it in GitHub Desktop.
Save eduardschaeli/6670797 to your computer and use it in GitHub Desktop.
Convert markdown (with images) to docx
#!/bin/bash
cat "$1" | multimarkdown -t html | sed 's/file\:\/\/\/Users\/edischaeli\/BTSync\/wiki\/Notational\///g' | pandoc -f html -o "$1.docx"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment