rust/src/librustdoc
bors 8786405047 auto merge of #12416 : alexcrichton/rust/highlight, r=huonw
This adds simple syntax highlighting based off libsyntax's lexer to be sure to
stay up to date with rust's grammar. Some of the highlighting is a bit ad-hoc,
but it definitely seems to get the job done!

This currently doesn't highlight rustdoc-rendered function signatures and
structs that are emitted to each page because the colors already signify what's
clickable and I think we'd have to figure out a different scheme before
colorizing them. This does, however, colorize all code examples and source code.

Closes #11393
2014-02-23 03:36:56 -08:00
..
html auto merge of #12416 : alexcrichton/rust/highlight, r=huonw 2014-02-23 03:36:56 -08:00
clean.rs Represent lifetimes as Names instead of Idents 2014-02-22 04:05:33 +08:00
core.rs Move std::{trie, hashmap} to libcollections 2014-02-23 00:35:11 -08:00
doctree.rs rustdoc: Show macros in documentation 2014-02-19 01:10:31 -08:00
fold.rs librustdoc -- move closure to clarify scope 2014-02-11 16:55:24 -05:00
lib.rs rustdoc: Add syntax highlighting 2014-02-23 00:16:23 -08:00
passes.rs Move std::{trie, hashmap} to libcollections 2014-02-23 00:35:11 -08:00
plugins.rs Changed NonCamelCaseTypes lint to warn by default 2014-02-21 08:11:52 +01:00
test.rs Move std::{trie, hashmap} to libcollections 2014-02-23 00:35:11 -08:00
visit_ast.rs rustdoc: Show macros in documentation 2014-02-19 01:10:31 -08:00