RUST HTML to maud.

RUST HTML to maud. maud is one of the template engines for server-side rendering based on rust. rusty practice on vimgolf

Input



	
		
		This is title
	
	
		

Hello maud!

Maud is best pony

Maud is the most beautiful pony

Maud is adorable

Maud is

Output

html! {
	(DOCTYPE)
	html {
		head {
			meta charset="UTF-8"
			title "This is title"
		}
		body {
			h1.hello "Hello maud!"
			p#best.truth "Maud is best pony"
			div#beautiful.truth "Maud is the most beautiful pony"
			br;
			span#adorable.truth "Maud is adorable"
			br;
			p.anything {
				"Maud is"
				input#something type="text" value="anything"
			}
		}
	}
}