Module rustdoc::html::highlight [−] [src]

Unstable

Basic html highlighting functionality

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

Functions

highlight [Unstable]

Highlights some source code, returning the HTML output.