Byron / pulldown-cmark-to-cmark

Convert pulldown-cmark Events back to the string they were parsed from
https://docs.rs/crate/pulldown-cmark-to-cmark
Apache License 2.0
41 stars 33 forks source link

Support For "Math Mode" From `pulldown-cmark` #72

Open maneesh29s opened 1 month ago

maneesh29s commented 1 month ago

The pulldown-cmark latest version v0.11.0 has added support for math mode.

It would be great if this library is updated to support math mode.

I am new to rust, but would like to help in raising a PR.

Byron commented 1 month ago

Thanks for letting me know and for offering to help out!

I recommend raising a draft PR and start with upgrading to the latest version of pulldown-cmark.

Please note that it may be advisable to set that up on top of this PR if it's still not merged by the time you get to it, just because it has pretty sweeping changes. If that sounds like too much, basing it on main is definitely alright as well though.

SichangHe commented 4 weeks ago

@maneesh29s, this repo needs some Pulldown-CMark version bumps to support math mode. I did something similar in my May 26 commits for my fork of @ytmimi's Markdown-FMT. You may want to borrow some of the changes.