Created
September 9, 2014 21:58
Export GitHub wiki as HTML files
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
#!/bin/bash | |
# for each md file in the directory | |
for file in *.md | |
do | |
# convert each file to html and place it in the html directory | |
# --gfm == use github flavoured markdown | |
marked -o pages/$file.html $file --gfm | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment