Crates.io | rst_renderer |
lib.rs | rst_renderer |
version | |
source | src |
created_at | 2019-12-26 22:47:01.535155+00 |
updated_at | 2025-04-13 16:20:11.368211+00 |
description | a reStructuredText renderer |
homepage | https://github.com/flying-sheep/rust-rst |
repository | https://github.com/flying-sheep/rust-rst |
max_upload_size | |
id | 192554 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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);