Better use of the mark-up tool
Duncan, gave my mark-up tool a nice plug today but missed a very important feature. It is emminently better to mark-up code snippets using Css styles (as opposed to Html tags) because you can have global control over how your code samples are rendered. To set the tool to output Css styles do the following:
Options / Output Format / Css
Your code snippets will now be rendered to use Css classes rather than embedded font tags. You can then use the tool to generate a stylesheet definition for you:
Options / Generate Stylesheet
...and use that in your blog by adding it as a custom selector:
Admin / Options / Configure
Scroll down to the section titled "Custom CSS Selectors" and add the following Css definition:
PRE.CodeSnippet { background-color : #EEEEEE; padding : 4px; margin : 0px; border : solid 1px #d0c8b7; font-family : "Lucinda Console"; font-size : 1em ; color : #000000; } .VbNet_InlineComment { font-family: "Lucinda Console"; color: Green; } .VbNet_String { font-family: "Lucinda Console"; color: Red; } .VbNet_DataType { font-family: "Lucinda Console"; color: Blue; } .VbNet_Function { font-family: "Lucinda Console"; color: Blue; } .VbNet_Keyword { font-family: "Lucinda Console"; color: Blue; } .VbNet_Method { font-family: "Lucinda Console"; color: Blue; } .VbNet_Object { font-family: "Lucinda Console"; color: Blue; } .VbNet_Operator { font-family: "Lucinda Console"; color: Blue; } .VbNet_Property { font-family: "Lucinda Console"; color: Blue; } .VbNet_Statement { font-family: "Lucinda Console"; color: Blue; } .CSharp_BlockComment { font-family: "Lucinda Console"; color: Green; } .CSharp_XmlComment { font-family: "Lucinda Console"; color: Silver; } .CSharp_InlineComment { font-family: "Lucinda Console"; color: Green; } .CSharp_String { font-family: "Lucinda Console"; color: Red; } .CSharp_ReferenceType { font-family: "Lucinda Console"; color: Blue; } .CSharp_ValueType { font-family: "Lucinda Console"; color: Blue; } .CSharp_Modifier { font-family: "Lucinda Console"; color: Blue; } .CSharp_Statement { font-family: "Lucinda Console"; color: Blue; } .CSharp_MethodParameter { font-family: "Lucinda Console"; color: Blue; } .CSharp_Namespace { font-family: "Lucinda Console"; color: Blue; } .CSharp_Keyword { font-family: "Lucinda Console"; color: Blue; } .TSql_BlockComment { font-family: "Lucinda Console"; color: Teal; } .TSql_InlineComment { font-family: "Lucinda Console"; color: Teal; } .TSql_String { font-family: "Lucinda Console"; color: Red; } .TSql_SysTable { font-family: "Lucinda Console"; color: LawnGreen; } .TSql_SysSproc { font-family: "Lucinda Console"; color: Brown; } .TSql_GlobalVariable { font-family: "Lucinda Console"; color: Fuchsia; } .TSql_ReservedKeyword { font-family: "Lucinda Console"; color: Blue; } .TSql_Function { font-family: "Lucinda Console"; color: Fuchsia; } .TSql_DataType { font-family: "Lucinda Console"; color: Blue; } .TSql_Operator { font-family: "Lucinda Console"; color: Silver; } .TSql_SystemFunction { font-family: "Lucinda Console"; color: Brown; }