Reference SyntaxHighlighter

[css]#button {
font-weight: bold;
border: 2px solid #fff;
}[/css]

To accomplish the above, just wrap your code in these tags:

[sourcecode language=”css”]

your code here

[/sourcecode]

The language parameter controls how the code is syntax highlighted. The following languages are supported:

  • actionscript3
  • bash
  • coldfusion
  • cpp
  • csharp
  • css
  • delphi
  • erlang
  • fsharp
  • diff
  • groovy
  • html
  • javascript
  • java
  • javafx
  • matlab (keywords only)
  • objc
  • perl
  • php
  • text
  • powershell
  • python
  • r
  • ruby
  • scala
  • sql
  • vb
  • xml

Leave a Reply

Your email address will not be published. Required fields are marked *