#template #html #markup

askama-plus-html5ever

Parse Askama templates, and tidy them up using html5ever

3 unstable releases

0.2.1 Jun 5, 2022
0.2.0 Jul 30, 2021
0.1.0 Jun 4, 2021

#99 in #markup

MIT/Apache

7KB

A simple library to parse askama templates, and tidy them up using html5ever.

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 or nate, which use fmt::Write to output their generated HTML data.


lib.rs:

A simple library to parse [askama] templates, and tidy them up using html5ever.

Dependencies

~3–10MB
~92K SLoC