Enable github formatting

This commit is contained in:
viridian 2024-04-09 11:55:24 +02:00
parent 89ef768668
commit 3e56c1e557
Signed by: viridian
GPG key ID: DCD4DF95CE23FE8C
2 changed files with 2 additions and 1 deletions

View file

@ -56,7 +56,7 @@ pub fn generate_blog_entry(markdown: String, template_dir: &String) -> (String,
allow_dangerous_protocol: true, allow_dangerous_protocol: true,
..CompileOptions::default() ..CompileOptions::default()
}, },
..Options::default() ..Options::gfm()
}, },
) )
.unwrap(); .unwrap();

View file

@ -3,6 +3,7 @@ pub mod config;
pub mod emoji; pub mod emoji;
pub mod index; pub mod index;
use mlem::*; use mlem::*;
fn main() { fn main() {
let config = config::read_config(); let config = config::read_config();
let raw_files = read_src_files(&config.src_dir); let raw_files = read_src_files(&config.src_dir);