Byword 'markdown' (Email Export) to Dropbox to Hazel to .docx [see notes]

Send 'markdown' from Byword (Email Export as plain text) to a folder where Hazel will continue automation -> Convert to .docx using pandoc. Action will save as .md.txt. I've setup Hazel to monitor the incoming folder for .txt and run a 'shell script' to convert the markdown to docx using a pandoc with a docx template. (Optional) Add an action to rename the source file from .md.txt to .md. Requirements: • Mac OSX • Hazel • Pandoc -- Shell Script -- export PATH=$PATH:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin pandoc -o "${1/.md.txt/.docx}" -t docx -f markdown --reference-docx="path/to/template.docx" "$1";

by rheinardkorf

Learn more

2 Users Enabled This Applet 2
works with
  • Email

Applet version ID 56751