syntaxhighlighter how to change the color of comment -
i new using syntaxhighlighter. using there latest version 3.0.83. can 1 how customize color of comments, header, etc ?
i using < pre class="brush: c"> coding style.
the easiest solution override css rules comments, they're marked !important have little work.
open shbrushcpp.js file. down towards bottom there's set of regular expression rules paired css property. values correspond class names in shthemedefault.css (or whatever theme you're using).
copy theme file shthemecustom.css or whatever want. include file on page instead of original theme. here, can change whatever want. reference css rules brush file against custom theme know needs changed.
Comments
Post a Comment