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

Passing an option in a specific showdown.Converter affects other instances of showdown #153

Closed
tivie opened this issue May 26, 2015 · 0 comments

Comments

@tivie
Copy link
Member

tivie commented May 26, 2015

Passing an option to a specific converter affects other instances of the converter since options are merged into showdown's global options

Example:

var foo = new showdown.Converter({myOption: true});
console.log(showdown.getOptions());

outputs

{myOption: true}
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

No branches or pull requests

1 participant