2007-02-05

syntax highlighting goodness

From messing with my first post, I realized I want to see my code the same way I see it in vim. Luckily vim is awesome.

:help 2html

This is not a syntax file itself, but a script that converts the current
window into HTML. Vim opens a new window in which it builds the HTML file.

You are not supposed to set the 'filetype' or 'syntax' option to "2html"!
Source the script to convert the current file: >

:runtime! syntax/2html.vim

Save the file and simply copy the resulting html into a post.

1 comment:

wdvx4eqz4w said...

ECM is often used for machining onerous metals such as titanium, Inconel, and different high-strength alloys. Sawing is a cutting process the place a stable material is partially or fully cut utilizing reciprocating or rotating tools such as power band saws, hack saws, and round saws. Trepanning entails cutting the face of round stock to provide a round groove. Either the stock rotates, or the cutting software revolves books to create a cut. Trepanning is used for producing large round holes and round disks. Another open-ended cutting technique used to create options alongside the edges of the metal stock.