germ 0.5.0

The Ultimate Gemini Toolkit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! This example demonstrates Germ's capabilities for converting Gemtext to
//! HTML.

fn main() {
  let html = germ::convert::from_string(
    include_str!("example.gmi"),
    &germ::convert::Target::HTML,
  );

  println!("{html}");
}