Module syntect::html
[−]
[src]
Rendering highlighted code as HTML+CSS
Enums
ClassStyle |
Only one style for now, I may add more class styles later. Just here so I don't have to change the API |
IncludeBackground |
Determines how background colour attributes are generated |
Functions
highlighted_snippet_for_file |
Convenience method that combines |
highlighted_snippet_for_string |
Convenience method that combines |
start_coloured_html_snippet |
Returns a |
styles_to_coloured_html |
Output HTML for a line of code with |
tokens_to_classed_html |
Output HTML for a line of code with |