Created
May 9, 2017 15:27
-
-
Save wangeleile/ac8b8a914e1c9ae0deaa5b4078a8a96d to your computer and use it in GitHub Desktop.
Pandoc File converting incl. link change
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
REM This file converts all of the Markdown files to HTML. | |
REM Converting in the current directory | |
REM %%~ni returns just the filename of %%i, not its extension | |
for %%i in (*.md) do pandoc\pandoc.exe %%~ni.md -f markdown -t html -H html\header.html -o html/%%~ni.html | |
pandoc\fart.exe -i -r "html\*.html" .md .html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment