Macro sauron_core::text[][src]

macro_rules! text {
    ($($arg : tt) *) => { ... };
}
Expand description

creates a text node Example

h1(vec![], vec![text("This is the content")])

will produce the corresponding html document:

This is the content