Crates.io | gemini2html |
lib.rs | gemini2html |
version | 0.2.2 |
source | src |
created_at | 2022-07-08 19:08:08.620206 |
updated_at | 2022-07-09 12:10:38.395332 |
description | Simple library for parsing Gemini (gmi) to HTML format |
homepage | |
repository | https://github.com/reticulis/gmi2html |
max_upload_size | |
id | 622058 |
size | 42,529 |
Library for parsing Gemini Text to HTML format
Example usage:
use gemini2html::parse_to_html;
let header = "# Title\n ## Description";
let html: Vec<String> = parse_to_html(header).unwrap();
assert_eq!(html, vec!["<h1>Title</h1>", "<h2>Description</h2>"])