13 releases
| 0.1.12 | Nov 19, 2025 |
|---|---|
| 0.1.11 | Sep 17, 2025 |
| 0.1.10 | Aug 5, 2025 |
| 0.1.9 | Jun 16, 2025 |
| 0.1.3 | Feb 22, 2024 |
#1299 in Command-line interface
136,608 downloads per month
Used in 25 crates
(3 directly)
185KB
3.5K
SLoC
Convert ANSI escape codes to SVG and HTML
See Term
SVG Example
let vte = std::fs::read_to_string("tests/rainbow.vte").unwrap();
let svg = Term::new().render_svg(&vte);
HTML Example
let vte = std::fs::read_to_string("tests/rainbow.vte").unwrap();
let html = Term::new().render_html(&vte);
anstyle-svg
Convert ANSI escape codes to SVG
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/license/mit)
at your option.
Contribute
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.
Dependencies
~1.5MB
~26K SLoC