🦠 The Definitive Gemini Protocol Toolkit
gemini gemini-protocol gemtext parser zero-dependency toolkit ast converter html markdown cli networking
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ast): optional whitespace following heading markers

Fuwn 1f6a37f7 6d92ea62

+1 -8
+1 -1
Cargo.toml
··· 2 2 3 3 [package] 4 4 name = "germ" 5 - version = "0.4.2" 5 + version = "0.4.3" 6 6 authors = ["Fuwn <contact@fuwn.me>"] 7 7 edition = "2021" 8 8 description = "The Ultimate Gemini Toolkit."
-7
src/ast/container.rs
··· 216 216 // find out how deep it goes. 217 217 let level = 218 218 line.trim_start().chars().take_while(|&c| c == '#').count(); 219 - let level = if level > 0 220 - && line.chars().nth(level).map_or(true, char::is_whitespace) 221 - { 222 - level 223 - } else { 224 - 0 225 - }; 226 219 227 220 nodes.push(Node::Heading { 228 221 level,