iamjackg / md2cf

Convert and upload Markdown documents to Confluence
MIT License
91 stars 49 forks source link

Upgrade mistune #81

Open galund opened 1 year ago

galund commented 1 year ago

Several substantial changes to the Mistune API, requiring alteration to our custom renderer.

Many of the changes do result in a different rendering, and where I've judged these are probably acceptable I've adjusted the tests, rather than attempt to further customise the markdown handling.

This targets a release candidate of Mistune 3, as it didn't seem worth trying to target version 2 given the newer version's impending availability.

galund commented 1 year ago

"remove-text-newlines" isn't removing all the newlines it could/should at the moment :(