germ 0.5.1

The Ultimate Gemini Toolkit.
Documentation
1
2
3
4
5
6
7
8
9
10
//! This example demonstrates Germ's capabilities for parsing Gemtext into an
//! abstract syntax tree.

fn main() {
  let ast = germ::ast::Ast::from_string(include_str!("example.gmi"));

  for node in ast.inner() {
    println!("{:?}", node);
  }
}