embedded html

Aug 13, 2009 at 9:11 PM

I can't find a way to add embedded html.

Something like this, for example:

 

<pre class="code">[<span style="color: #2b91af">TestClass</span>]
<span style="color: blue">public class </span><span style="color: #2b91af">AssertionTest
</span>{
    [<span style="color: #2b91af">TestMethod</span>]
    [<span style="color: #2b91af">ExpectedException</span>(<span style="color: blue">typeof</span>(<span style="color: #2b91af">ArgumentNullException</span>))]
    <span style="color: blue">public void </span>CtorWithNullMatch()
    {
        <span style="color: blue">new </span><span style="color: #2b91af">Assertion</span>&lt;<span style="color: blue">int</span>, <span style="color: blue">int</span>&gt;(<span style="color: #a31515">&quot;&quot;</span>, 0, <span style="color: blue">null</span>, <span style="color: blue">new </span><span style="color: #2b91af">DefaultMessageBuilder</span>&lt;<span style="color: blue">int</span>, <span style="color: blue">int</span>&gt;());
    }</pre>

 

 

Coordinator
Aug 13, 2009 at 10:06 PM

For plain HTML, you can use "xml":

{code:xml}
<pre>my code</pre>
{code:xml}

Other options include "aspx c#" or "aspx vb".