rst_renderer

Crates.iorst_renderer
lib.rsrst_renderer
version0.4.2
created_at2019-12-26 22:47:01.535155+00
updated_at2025-04-13 16:20:11.368211+00
descriptiona reStructuredText renderer
homepagehttps://github.com/flying-sheep/rust-rst
repositoryhttps://github.com/flying-sheep/rust-rst
max_upload_size
id192554
size47,680
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: 164

cargo fmt