Tuesday, September 24, 2013

Blog Code Formatting

I've started using the code outlines marked in the above article. He references a style chart with a bunch of styles. Here's what my inserted header block looks like, for Linux, C#, and SQL code snippets.

Here's the list of brushes currently :

Basically, it all comes down to the idea that you put your code into a <pre> block, with an attribute of the brush type you want. Like this:

No comments:

Post a Comment