https://github.com/kijewski/html5ever-arena-dom
A simple library to parse templates, and tidy them up using html5ever.
https://github.com/kijewski/html5ever-arena-dom
html html5 rust template-engine tidy
Last synced: about 1 year ago
JSON representation
A simple library to parse templates, and tidy them up using html5ever.
- Host: GitHub
- URL: https://github.com/kijewski/html5ever-arena-dom
- Owner: Kijewski
- License: other
- Created: 2021-06-04T07:15:53.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T16:52:00.000Z (about 1 year ago)
- Last Synced: 2025-04-04T17:32:27.589Z (about 1 year ago)
- Topics: html, html5, rust, template-engine, tidy
- Language: Rust
- Homepage: https://docs.rs/html5ever-arena-dom/
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
A simple library to parse templates, and tidy them up using [html5ever](https://doc.servo.org/html5ever/index.html).
This library simply extracts and combines two usage examples of html5ever, and makes them re-usable.
It is mostly meant to be used with template engines such as [Askama](https://crates.io/crates/askama) or
[nate](https://crates.io/crates/nate), which use fmt::Write to output their generated HTML data.