mini_markdown icon indicating copy to clipboard operation
mini_markdown copied to clipboard

Not handling inline formatting of inline components outside of in paragraphs

Open Arteneko opened this issue 3 years ago • 1 comments
trafficstars

For example, adding a link or a bold text in a list item will leave it unformatted and escaped.


use mini_markdown::render;

fn main() {
    let res = render("* [test](./test.md) test");

    println!("{}", res);
// <ul><li>&lbrack;test&rbrack;&#40;./test.md&#41; test</li></ul>
}

Arteneko avatar Nov 07 '22 11:11 Arteneko

Hey, sorry for the delayed reply. Thanks for pointing this out. I suspect this will come in when I get to adding the "inline" common mark tests. Progress is slow, but I'll try to prioritize that test set if this is important to you :)

darakian avatar Nov 11 '22 21:11 darakian