tylingsoft / markdown-it-mermaid

Mermaid plugin for markdown-it.
40 stars 45 forks source link

Switched export default to module.exports #1

Closed hang-up closed 7 years ago

hang-up commented 7 years ago

I just changed the way you exported your module from export default to module.exports.

I'm using this plugin as part of an open source project called Bük that you can find at https://github.com/hang-up/buuk!

tylerlong commented 7 years ago

Thank you for the PR. But I won't merge it. Because export default is the latest JS syntax. I know it's not supported everywhere but I use webpack + babel so it's not a problem for me.

You can fork it and release a different version if it's a problem for you. Thank you again.