]> git.r.bdr.sh - rbdr/page/blame - src/main.rs
Add a gemini parser
[rbdr/page] / src / main.rs
CommitLineData
8d4fac52
RBR
1mod gemini_parser;
2
3use crate::gemini_parser::parse;
4
5fn main() {
6 let gemini_source = "# Test\n## 2nd H\na line\n another line\n```\npreformat\n=> preformat\n```\n=> http://lol.com\n=> http://lol.com lol\n* lol\nbla\n* lol\n* lmao\n> blabla\n> blabla";
7 let html = parse(gemini_source);
8 println!("{}", html)
9}