Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pintariching/rubil

A HTML builder written in rust
https://github.com/pintariching/rubil

html rust

Last synced: about 2 months ago
JSON representation

A HTML builder written in rust

Awesome Lists containing this project

README

        

# rubil

Build HTML without writing HTML. A small project I want to work on for fun. Are you fed up with breaking your fingers when
writing brackets, equal signs and back slashes like
```html



  • Owie

  • my

  • fingers.



```
you can write your HTML without ever opening a bracket with `rubil`! For example the above turns into
```rust
let html: String = Div::new()
.class("container")
.ul(|ul| ul
.li("Owie")
.li("my")
.li("fingers"))
.build;
```

# Work in progress :construction:
This crate is very much a work in progress. You're welcome to share your ideas or contribute in any way you'd like!