How do I set vim's syntax highlighting to treat a file extension as an html file?
I'm using ez template, so the file's extension is .ezt. But a lot of it is normal html code.
.ezt
:set syntax=html
I heard that the new HTML5 will add rich text capability to textareas (it will make them more flexible), so you can do stuff like code syntax highlighting editors without very nasty javascript (like creating iframes and stuff). Is this …
What Javascript libraries can you recommend for syntax highlighting <code> blocks in HTML? (One suggestion per answer please).
I want to highlight C/C++/Java/C# etc source codes in my website. How can I do this? Is it a CPU intensive job to highlight the source code?