syntax highlight code examples in docstrings
This commit is contained in:
parent
3941f78a1b
commit
0d5fdce82e
17 changed files with 165 additions and 117 deletions
|
|
@ -14,7 +14,7 @@
|
|||
*
|
||||
* # Example
|
||||
*
|
||||
* ~~~
|
||||
* ~~~ {.rust}
|
||||
* # fn fib(n: uint) -> uint {42};
|
||||
* # fn make_a_sandwich() {};
|
||||
* let mut delayed_fib = std::future::spawn (|| fib(5000) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue