Created
March 25, 2015 14:58
-
-
Save alexandreteles/3be33daffdf7eabb751f to your computer and use it in GitHub Desktop.
Wrappers for Pandoc and Tidy-html5
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
corrigiridt () { | |
echo "Uso: corrigiridt arquivo.html"; | |
tidy5 --indent yes -m -w 160 -utf8 -ashtml --drop-empty-elements no --drop-empty-paras no $1 | |
} | |
gerarhtml5 () { | |
echo "Uso: gerarhtml5 pandoc.template header.html footer.html origem distino"; | |
pandoc -S --template=$1 -B $2 -A $3 -f markdown -t html5 -s $4 -o $5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment