Constant maud::DOCTYPE
[−]
[src]
pub const DOCTYPE: PreEscaped<&'static str>=
PreEscaped("<!DOCTYPE html>")
The literal string <!DOCTYPE html>
.
Example
A minimal web page:
⚠Be careful when using this code, it's not being tested!
use maud::DOCTYPE; let markup = html! { (DOCTYPE) html { head { meta charset="utf-8"; title "Test page" } body { p "Hello, world!" } } };