VIMで:TOhtmlという機能があることを最近知りましたorz 2html.vim : Transform a file into HTML, using the current syntax highlighting. (Win, Mac) [ 名無しのVIM使い ] http://nanasi.jp/articles/vim/2html_vim.html プログラムを書いているのはVIMなので、 そのまま持ってきて貼り付ければいいわけで。 1 {% comment %} 2 vim: syntax=htmldjango 3 {% endcomment %} 4 <html> 5 <head> 6 <script type="text/javascript" src="/static/js/jQuery-latest/jquery-latest.js"></script> 7 <scr