Skip to content

Instantly share code, notes, and snippets.

@bdunogier
Created January 12, 2018 22:25
Show Gist options
  • Save bdunogier/a78a75108a4b95ed156dcb4e2bc3eab8 to your computer and use it in GitHub Desktop.
Save bdunogier/a78a75108a4b95ed156dcb4e2bc3eab8 to your computer and use it in GitHub Desktop.

Revisions

  1. bdunogier created this gist Jan 12, 2018.
    7 changes: 7 additions & 0 deletions md2word.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    function md2word () {
    pandoc -o $2 -f markdown -t docx $1
    }

    function word2md () {
    pandoc -o $2 -f docx -t markdown $1
    }