4 releases

new 0.4.1 Nov 20, 2024
0.4.0 Nov 1, 2020
0.3.1 Jan 3, 2020
0.3.0 Dec 26, 2019

#4 in #restructuredtext

Download history 430/week @ 2024-07-31 764/week @ 2024-08-07 87/week @ 2024-08-14 111/week @ 2024-08-21 66/week @ 2024-08-28 71/week @ 2024-09-04 71/week @ 2024-09-11 508/week @ 2024-09-18 793/week @ 2024-09-25 509/week @ 2024-10-02 325/week @ 2024-10-09 535/week @ 2024-10-16 357/week @ 2024-10-23 441/week @ 2024-10-30 466/week @ 2024-11-06 537/week @ 2024-11-13

1,824 downloads per month
Used in 9 crates (6 directly)

MIT/Apache

63KB
2K 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

~5–7.5MB
~133K SLoC