7 releases
0.1.9 | Jan 16, 2023 |
---|---|
0.1.8 | Jan 16, 2023 |
#654 in Development tools
43 downloads per month
Used in html2maud-bin
6KB
90 lines
html2maud
Library / CLI / GUI to convert html to maud template code.
Binary Usage
cargo install html2maud-bin
html2maud --in my.html --out my.maud
cat my.html | html2maud
Usage: html2maud [OPTIONS]
Options:
-i, --in <input html file>
-o, --out <output maud file>
-s, --stdin
-h, --help Print help information
GUI
While a gui exists, there is currently a bug where the gui does not show up when installed via cargo install
.
If you use cargo run
, just pass no arguments to html2maud and a tauri + pâro GUI will show up.
Library Usage
use html2maud::*;
fn main() {
let html = "<div><p>Paragraph</p></div>";
let maud = html2maud(html);
println("{}", maud);
}
LICENCE
MIT or Apache 2
Dependencies
~145KB