facelessuser / MarkdownPreview

Markdown preview and build plugin for Sublime Text https://facelessuser.github.io/MarkdownPreview/
Other
405 stars 53 forks source link

Prepare for new dependencies #53

Closed facelessuser closed 5 years ago

facelessuser commented 5 years ago

Use betterem as smart_strong has been removed in Python Markdown 3.0 and is enabled by default. But since we can't conditionally include an extension based on version, just use betterem which gives us the same (similar) behavior before and after Markdown 3. Also explicitly include superfences formatters as they are no longer defined by default in pymdownx 6.0, but defining them explicitly is backwards compatible.

Hopefully this will allow us to have a smooth transition when I update the markdown and pymdownx dependencies. They must be upgraded at the same time.