[][src]Macro sauron::text

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

creates a text node Example

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

will produce the corresponding html document:

This is the content