mantisbt-plugins / bbcode

4 stars 7 forks source link

Code tag accepts an attribute to override code highlighting language (when not happy with the "heuristics"). #5

Closed vikte closed 11 years ago

vikte commented 11 years ago

Language override is any of the supported Highlight.js languages. E.g. [code=php] will highlight PHP code, [code=java] - Java code. This will override the heuristics mechanism used by Highlight.js.