Crates.io | highlightrs |
lib.rs | highlightrs |
version | 0.0.1 |
source | src |
created_at | 2014-12-18 07:06:52.078868 |
updated_at | 2015-12-11 23:53:29.779383 |
description | A command line utility to turn rust code into syntax highlighted html |
homepage | |
repository | https://github.com/Inspiravetion/highlightrs |
max_upload_size | |
id | 593 |
size | 14,061 |
"A command line utility to turn rust code into syntax highlighted html"
$> highlightrs 'let a = "b";'
produces
<pre class='rust '>
<span class='kw'>let</span> <span class='ident'>a</span> <span class='op'>=</span> <span class='string'>"b"</span>;
</pre>
Options:
-i --inputfile FILE use a file for the input
-o --outfile FILE use a file for the output
-h --help print this help menu