h2

Macro h2 

Source
macro_rules! h2 {
    ($content:expr) => { ... };
}
Expand description

Creates <h2> HTML element. The section heading level 2 element.

ยงExample

let h = h2!("Heading level 2");
assert_eq!("<h2>Heading level 2</h2>", h.to_string());