Skip to content

Conversation

@rayou
Copy link
Contributor

@rayou rayou commented Mar 1, 2018

Fix #1520

markdown-it doesn't support options update on the fly, if user changes the smart quotes setting, a restart/reload is required which doesn't seem a good UX to me.

So I made a slightly change to lib/markdown.js, I put the initiate processes into a class constructor, which make possible to create a new instance without restart.

Default setting of smart quotes is enabled.

mar-02-2018 00-31-40

@kazup01 kazup01 added the awaiting review ❇️ Pull request is awaiting a review. label Mar 3, 2018
@rayou
Copy link
Contributor Author

rayou commented Mar 7, 2018

fixed conflicts.

@Rokt33r Rokt33r merged commit 3165c62 into BoostIO:master Mar 9, 2018
@Rokt33r Rokt33r removed the awaiting review ❇️ Pull request is awaiting a review. label Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants