change the whole parsing of markdown functionality

This commit is contained in:
2024-10-07 15:35:22 +02:00
parent fb6ca6c245
commit 11cc9f6d0a
21 changed files with 311 additions and 264 deletions

View File

@ -21,7 +21,7 @@ pub async fn get_post_list<'de, Metadata: DeserializeOwned>(
let file_path = file.path();
let file_path_str = file_path.to_str().unwrap();
info!(":{}", file_path_str);
let post = parse_post::<Metadata>(file_path_str, false).await?;
let post = parse_post::<Metadata>(file_path_str).await?;
posts.push(post);
}