Crate gemini2html
source · [−]Expand description
gemini2html
Simple library for parsing Gemini (gmi) 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>"])
Functions
Parse gemini (gmi) to html format