html2maud

Crates.iohtml2maud
lib.rshtml2maud
version0.1.11
sourcesrc
created_at2023-01-03 08:37:26.137861
updated_at2024-02-25 14:06:38.631722
descriptionhtml2maud is a library / cli to convert html to maud template code
homepage
repositoryhttps://github.com/grayfallstown/html2maud
max_upload_size
id749973
size8,341
(grayfallstown)

documentation

README

html2maud

Library / CLI / GUI to convert html to maud template code.

Online version

html2maud online

Binary Usage

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

GUI

run html2maud-bin without parameters and a basic tauri + pâro GUI will start, allowing for a faster workflow.

Library Usage

use html2maud::*;

fn main() {
    let html = "<div><p>Paragraph</p></div>";
    let maud = html2maud(html);
    println("{}", maud);
}

LICENCE

MIT or Apache 2

Commit count: 40

cargo fmt