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 color attributes are generated |
Functions
append_highlighted_html_for_styled_line |
Like |
highlighted_html_for_file |
Convenience method that combines |
highlighted_html_for_string |
Convenience method that combines |
start_highlighted_html_snippet |
Returns a |
styled_line_to_highlighted_html |
Output HTML for a line of code with |
tokens_to_classed_html |
Output HTML for a line of code with |