CodeSolid

A Go Programming Notebook

Using the Wordpress Code Markup Plugin

Well, I just found Bennet’s excellent Code Markup Plugin, and with it, I was able to pretty quickly fix the post about C Sharp Verbatim Strings. I knew some smart guy would have written that, and sure enough, he did.

With very little extra work, I was able to get some cool formatting going.

Cool Formatting

<code class="code" allow="none">
using System;
using System.Text;

public class Hello
{

    public static void Main()
    {
    String verbatim =

@"This is a
verbatim string, and it can go
on and on, using ""quote"" characters
etc but everything else
is not escaped, like tab characters, \t
and so forth.";

    System.Console.Write(verbatim);
    }
}
</code>