Macro rtml::small

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

Example

use rtml::*;

assert_eq!(
    small!["This text is small"].render(),
    "<small>This text is small</small>"
);