3 unstable releases

0.4.0 Nov 1, 2020
0.3.1 Jan 3, 2020
0.3.0 Dec 26, 2019

#12 in #restructuredtext

Download history 18/week @ 2023-12-04 19/week @ 2023-12-11 31/week @ 2023-12-18 23/week @ 2023-12-25 14/week @ 2024-01-01 41/week @ 2024-01-08 22/week @ 2024-01-15 12/week @ 2024-01-22 16/week @ 2024-01-29 51/week @ 2024-02-05 63/week @ 2024-02-12 28/week @ 2024-02-19 108/week @ 2024-02-26 38/week @ 2024-03-04 79/week @ 2024-03-11 90/week @ 2024-03-18

316 downloads per month
Used in 7 crates (5 directly)

MIT/Apache

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