highlightrs

Crates.iohighlightrs
lib.rshighlightrs
version0.0.1
sourcesrc
created_at2014-12-18 07:06:52.078868
updated_at2015-12-11 23:53:29.779383
descriptionA command line utility to turn rust code into syntax highlighted html
homepage
repositoryhttps://github.com/Inspiravetion/highlightrs
max_upload_size
id593
size14,061
(Inspiravetion)

documentation

README

highlightrs

"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'>&quot;b&quot;</span>;
</pre>

Usage

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
Commit count: 13

cargo fmt