ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.8K
active users

#mistune

0 posts0 participants0 posts today
Continued thread

Okay, I’ve published the test results here:
codeberg.org/scy/python-markdo

Summary: If you need to do #Markdown round-trip modifications in #Python (i.e. load a Markdown file into a Python representation, make some changes, save it again, while _only_ changing the parts of the document that you actually touched, not normalize/rewrite it from the ground up), then #mistletoe is what you want to use. #Mistune is a close runner-up, but has its issues. Everything else basically doesn’t work.

Codeberg.orgpython-markdown-roundtrip-testTesting several Python Markdown libraries for their round-trip capabilities.