1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/// [Header](https://geminiprotocol.net/docs/gemtext-specification.gmi#heading-lines) type holder pub enum Level { H1, H2, H3, } impl Level { pub fn as_tag(&self) -> &str { match self { Level::H1 => "#", Level::H2 => "##", Level::H3 => "###", } } }