Macro rtml::output

source ·
macro_rules! output {
    () => { ... };
    ( .$attr_left:ident = $value_left:expr $(,.$attr:ident = $value:expr)* $(,$inner:expr)* ) => { ... };
    ( $inner_left:expr $(,$inner:expr)*) => { ... };
}
Expand description

Example

use rtml::*;

assert_eq!(
    output!["10"].render(),
    "<output>10</output>"
);