fraschm1998 / html2maud

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Rust 65.5%Language:JavaScript 26.4%Language:HTML 3.4%Language:SCSS 2.9%Language:CSS 1.1%Language:Batchfile 0.7%