3 unstable releases
0.4.0 | Nov 1, 2020 |
---|---|
0.3.1 | Jan 3, 2020 |
0.3.0 | Dec 26, 2019 |
#12 in #restructuredtext
316 downloads per month
Used in 7 crates
(5 directly)
56KB
1.5K
SLoC
rst_renderer
Part of the rst
crate family.
This crate contains the HTML renderer (which supports most of what the parser supports),
as well as the broken XML and JSON renderers.
Suggestions and PRs welcome on how to get them right!
let document = Document::with_children(vec![...]); // or rst_parser::parse()
let stream = std::io::stdout();
let standalone = true; // wrap in <!doctype html><html></html>
render_html(document, stream, standalone);
Dependencies
~4.5–7MB
~157K SLoC