Skip to content

Instantly share code, notes, and snippets.

@oguna
Created October 28, 2014 09:53
Show Gist options
  • Select an option

  • Save oguna/ed5f607d10ee21b4dc50 to your computer and use it in GitHub Desktop.

Select an option

Save oguna/ed5f607d10ee21b4dc50 to your computer and use it in GitHub Desktop.
PandocでMarkdownをHTMLに変換するバッチファイル
REM Pandocを使ってMarkdown(.md)をHTML(.html)に変換するバッチ
REM -f : 変換元フォーマット
REM -t : 変換先フォーマット
REM -o : 出力先ファイル
REM -c : CSSファイル
pandoc -f markdown -t html5 -o index.html -c css/github.css index.md
REM エラーなら停止する
if %ERRORLEVEL% NEQ 0 (pause)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment