Yet another markdown document flavour (YAMD)
Status
It is ready to poke around. There is no significant API changes expected.
Why?
Initial idea was to create human readable text format for my blog. Why not existing flavour? Existing flavours do not have elements like image gallery, dividers, highlight, etc.
Features
Deserialize markdown to YAMD struct, Serialize YAMD struct to markdown.
Example
use ;
let input = r#"header: YAMD documnet showcase
timestamp: 2023-08-13 15:42:00 +02:00
tags: yamd, markdown
preview: here is how you can serialize ande deserialize YAMD document
# This is a new Yamd document
Check out [documentation](https://docs.rs/yamd/latest/yamd/) to get what elements **Yamd** format supports.
"#;
let yamd = deserialize.unwrap;
let output = serialize;