This plugin allows users to highlight code.
You can use the [code][/code] bbtags. Simply place your code between the tags and your code will be highlighted. You may also specify one of the supported languages by using the lang parameter - [code lang="PHP"][/code]
Under the settings menu click on the Syntax Highlighter link. From there either select "Yes" or "No" to the Line Numbers option.
This is because you have entered your code in Visual mode. You must enter your code in HTML mode.
This plugin encapsulates code using div tags. Div is a block element and cannot be placed inside an inline element. This is probably causing your validation to break. If you place [code] tags inline, you are placing them inside a
<
p> which is an inline element. This causes your validation to break. Therefor you must place [code] tags on a line by itself. For example: BAD This is hello world in PHP: [code][/code] GOOD This is hello world in PHP: [code][/code]
Requires: 2.0.2 or higher
Compatible up to: 2.8
Last Updated: 2009-9-28
Downloads: 610




