When the rendering engine is HTML
you can provide a custom style sheet code with which you can customize the formatted output.
With the custom CSS you can provide/override the style of all HTML elements.
When you provide a style for a specific format, it is appended to the global style.
Highlight
use classes to highlight the source code:
body.hl | Canvas |
pre.hl | Default content |
.hl.num | Numbers |
.hl.esc | Escape |
.hl.sng | String |
.hl.pps | Preprocessor |
.hl.slc | Single line comment |
.hl.com | Multi line comment |
.hl.ppc | Post-processor |
.hl.opt | Operator |
.hl.ipl | Interpolation |
.hl.lin | Line numbers |
hl.kw? | Keyword n, where ? is a letter from a to z and n is a number from 1 to 26 |
hl.hvr | LS Hover |
hl.err | LS Syntax Error |
hl.sta | LS Type |
hl.stb | LS Class |
hl.stc | LS Struct |
hl.std | LS Interface |
hl.ste | LS Parameter |
hl.stf | LS Variable |
hl.stg | LS Enum Member |
hl.sth | LS Function |
hl.sti | LS Method |
hl.stj | LS Keyword |
hl.stk | LS Number |
hl.stl | LS Regexp |
hl.stm | LS Operator |
Customized styles are saved in ~/Library/Application Support/Syntax Highlight/Styles
.
More info about highlight
HTML output on this page.