Created
February 1, 2019 23:06
-
-
Save yjzhang/1d8c1148ce491249077a2c2e920eaf6e to your computer and use it in GitHub Desktop.
This file contains 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 var in "$@"; do | |
filename=${var%.*} | |
#echo $filename | |
#echo $@ | |
echo writing to $filename.html | |
pandoc $var --self-contained --toc -c /home/yjzhang/Dropbox/Notes/buttondown.css -s --mathml -o $filename.html | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment