特にまとめておくまでもないことなんだけども、健忘録として。 MacOSXとかで brew install pandoc を実行してpandocをインストールしておく。以下の様なスクリプトを用意。名前は適当にmake_markdown.pyとかにして適当なフォルダにおいておく。 import sys import glob import commands param = sys.argv if (len(param) == 2): f = param[1] h = f[0:-3] + '.html' command = "pandoc %s -s -o %s" % (f, h) commands.getoutput(command) quit()