Something went wrong. Try again.
🦠 The Definitive Gemini Protocol Toolkit
gemini gemini-protocol gemtext parser zero-dependency toolkit ast converter html markdown cli networking
Something went wrong. Try again.
123456789101112131415//! This example demonstrates Germ's capabilities for converting Gemtext to//! HTML.
fn main() { // Convert the Gemtext to HTML let html = germ::convert::from_string( germ::EXAMPLE_GEMTEXT, &germ::convert::Target::HTML, );
// Write the HTML to a file std::fs::write("examples/convert.html", html) .expect("could not write to file");}