Here is my code snippet in C#

// Line 1
// Line 3

When I look at the output html the above snippet looks like this

   <pre style="padding-right: 0px;
               padding-left: 0px;
               font-size: 8pt;
               padding-bottom: 0px;
               margin: 0em; overflow: visible;
               width: 100%; color: black;
               border-top-style: none;
               line-height: 12pt;
               padding-top: 0px;
               font-family: consolas, 'Courier New', courier, monospace;
               border-right-style: none;
               border-left-style: none;
               background-color: #f4f4f4; border-bottom-style: none"><span style="color: #008000">

// Line 1</span>
// Line 3</pre></div>

If you look at thefont-famly it comes out as consolas and not console.