Module rustdoc::html::highlightUnstable [-] [+] [src]

Basic html highlighting functionality

This module uses libsyntax's lexer to provide token-based highlighting for the HTML documentation generated by rustdoc.

Functions

highlight

Highlights some source code, returning the HTML output.