Last active
September 24, 2018 17:29
-
-
Save catichenor/7d2ad09812ea431c61f373fdc38f5e53 to your computer and use it in GitHub Desktop.
Convert a series of Markdown table files to HTML/Excel tables using pandoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
find . -maxdepth 1 -type f -name '*.md' | xargs -I {} basename "{}" .md | xargs -I {} pandoc -f markdown_mmd -t html {}.md -o {}.xls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anaconda3 variation for a user installation on Windows (via Git Bash):
find . -maxdepth 1 -type f -name '*.md' | xargs -I {} basename "{}" .md | xargs -I {} ~/AppData/Local/Continuum/anaconda3/Scripts/pandoc.exe -f markdown_mmd -t html {}.md -o {}.xls