Uses old Rust 2015
|0.1.10||Nov 16, 2019|
|0.1.9||Aug 18, 2019|
|0.1.7||Feb 1, 2019|
|0.1.6||Dec 19, 2018|
|0.1.1||Mar 26, 2018|
#606 in Development tools
60 downloads per month
Used in cargo-src
Rustdoc's syntax highlighting in its own crate for ease of use.
Basic syntax highlighting functionality.
This module uses libsyntax's lexer to provide token-based highlighting for the HTML documentation generated by rustdoc.
If you just want to syntax highlighting for a Rust program, then you can use
functions. For more advanced use cases (if you want to supply your own css
classes or control how the HTML is generated, or even generate something
other then HTML), then you should implement the
Writer trait and use a