Open zr5dt opened 3 years ago
+1 for this. I end up needing to fall back to html for many scenarios, and if it gets escaped I can no longer do that.
As an example, there is no way to create links that open in a new tab. There isn't markdown syntax for that, so the best solution would likely be to use html directly.
Hi Johann,
Thank you for the great markdown crate. I am using it in a small Rocket Web application, I'm developing for my company. However I need support for inline HTML so I decided to try contribute to the crate and offer a solution for this feature.
Web development is not my expertise and I am also very new to Rust (coming from a C background). Hopefully I haven't gone too far off the rails, and you can use/merge my solution. It seems to pass most of the tests except a weird xHTML case, which I have noted in the file
tests/fixtures/files/advanced_inline_html.text
.Regards Dario