rst_renderer

Crates.iorst_renderer
lib.rsrst_renderer
version0.4.0
sourcesrc
created_at2019-12-26 22:47:01.535155
updated_at2020-11-01 15:53:02.940688
descriptiona reStructuredText renderer
homepagehttps://github.com/flying-sheep/rust-rst
repositoryhttps://github.com/flying-sheep/rust-rst
max_upload_size
id192554
size22,504
Philipp A. (flying-sheep)

documentation

https://docs.rs/rst_renderer

README

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);
Commit count: 137

cargo fmt