Crates.io | html2maud-bin |
lib.rs | html2maud-bin |
version | 0.1.12 |
source | src |
created_at | 2023-01-03 08:38:32.64722 |
updated_at | 2023-11-14 15:45:49.401532 |
description | html2maud is a library / cli to convert html to maud template code |
homepage | |
repository | https://github.com/grayfallstown/html2maud |
max_upload_size | |
id | 749974 |
size | 699,632 |
Library / CLI / GUI to convert html to maud template code.
cargo install html2maud-bin
html2maud-bin --in my.html --out my.maud
cat my.html | html2maud-bin --stdin
Usage: html2maud [OPTIONS]
Options:
-i, --in <input html file>
-o, --out <output maud file>
-s, --stdin
-h, --help Print help information
html2maud-bin without parameters will start the GUI
run html2maud-bin
without parameters and a basic tauri + pâro GUI will start, allowing for a faster workflow.
use html2maud::*;
fn main() {
let html = "<div><p>Paragraph</p></div>";
let maud = html2maud(html);
println("{}", maud);
}
MIT or Apache 2