maud-pulldown-cmark
This library implements an adapter to allow rendering strings as markdown inside a maud macro using pulldown-cmark efficiently.
Example
let markdown = "
1. A list
2. With some
3. Values
";
let mut buffer = String new;
html!;
println!;
let markdown = "
1. A list
2. With some
3. <span>Inline html</span>
";
let events = ;
let mut buffer = String new;
html!;
println!;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.