The hack presented below has been developed on a MAC OS X. It uses the TOhtml function of the Vim Editor (i use Version 7.0). It runs in HTML Mode only.
f=$1vim -f +”syn on” +”run! syntax/2html.vim” +”wq” +”q” $f
sed -n ‘/<pre>/,/<\\/pre>/p’ $f.html | sed ’s~<pre>~<pre style=”margin: 1.5em 0px; padding: 10px 10px 10px 10px; [...]
Recent Comments