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

https://github.com/michaelvanstraten/rusty-html

This crate allows for Jsx html inline like syntax in rust
https://github.com/michaelvanstraten/rusty-html

jsx-syntax rust rust-macros template-engine

Last synced: 11 months ago
JSON representation

This crate allows for Jsx html inline like syntax in rust

Awesome Lists containing this project

README

          

# rusty-html

Rusty HTML is a html-templating/web(in progress) framework.

### Example

```rust
use rusty_html::html;

fn main() {
let links = [
("https://wikipedia.com", "Wikipedia"),
("https://twitter.com", "Twitter"),
("https://youtube.com", "Youtube"),
];

let html = html!(


{
for (link, link_title) in links {
{link_title}
}
}

);

println!("{html}");
}
```

License: MIT

License: MIT