]>
Commit | Line | Data |
---|---|---|
8d4fac52 | 1 | mod gemini_parser; |
1e2d00b6 RBR |
2 | mod file_finder; |
3 | mod file_handler; | |
4 | ||
5 | use std::env::current_dir; | |
8d4fac52 RBR |
6 | |
7 | use crate::gemini_parser::parse; | |
1e2d00b6 | 8 | use crate::file_finder::find_files; |
8d4fac52 RBR |
9 | |
10 | fn main() { | |
11 | 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"; | |
12 | let html = parse(gemini_source); | |
1e2d00b6 RBR |
13 | println!("{}", html); |
14 | ||
15 | let files = find_files(current_dir().unwrap()); | |
16 | println!("Found {} files", files.len()); | |
8d4fac52 | 17 | } |