Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for toggling smart quotes in preview #1621

Merged
merged 3 commits into from
Mar 9, 2018

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.

None yet

3 participants