rshtml_core 0.2.0

RsHtml: A Template Engine for Seamless HTML and Rust Integration.
Documentation
1
2
3
4
5
6
7
<div>
    @("this is escaped: '<script>'")
    @#("this is not escaped: '<script>'")
    @(self.value)
    this is: @(self.data.to_uppercase())
    <p>hey: @((self.value * 10).pow(2))</p>
</div>