This is a tool I build to use in my own blog (where I mainly talk about C programming).
I considered using other available tools but they either:
1. used client-side javascript to work
2. only highlighted based on the keywords
3. only could be used online
so I thought It would be fun to write one myself. It turned out pretty nicely in my opinion!
I always use vi :TOhtml so the code I post looks like the code I wrote (colouring and indenting the same, etc). Your html output might be more modern, though. The --prefix et al are pretty slick.
This is a tool I build to use in my own blog (where I mainly talk about C programming).
I considered using other available tools but they either: 1. used client-side javascript to work 2. only highlighted based on the keywords 3. only could be used online
so I thought It would be fun to write one myself. It turned out pretty nicely in my opinion!