Skip to content

Fix extension example in the README - #63

Closed
nilbus wants to merge 2 commits into
showdownjs:masterfrom
nilbus:patch-1
Closed

Fix extension example in the README#63
nilbus wants to merge 2 commits into
showdownjs:masterfrom
nilbus:patch-1

Conversation

@nilbus

@nilbus nilbus commented Jul 6, 2013

Copy link
Copy Markdown

var converter = new Showdown.converter({ extensions: 'twitter' });

Since it loops over the value of options.extensions, it ends up looping over each character in the string twitter ['t', 'w', 'i', ...] and fails to load the extension.

nilbus added 2 commits July 6, 2013 17:01
    var converter = new Showdown.converter({ extensions: 'twitter' });

Since it loops over the value of options.extensions, it ends up looping over each character in the string twitter ['t', 'w', 'i', ...] and fails to load the extension.
A filter language extension needs the filter key, or it's not valid javascript syntax.
@thejspr

thejspr commented Jul 7, 2013

Copy link
Copy Markdown

👍

@nilbus

nilbus commented Jul 8, 2013

Copy link
Copy Markdown
Author

This duplicates #47, #54. Both of those should be merged.

@coreyti if you don't have time and would like some help resolving the open issues, I would be glad to assist. Just let me know.

@nilbus nilbus closed this Jul 8, 2013
@nilbus
nilbus deleted the patch-1 branch July 8, 2013 13:28
@nilbus
nilbus restored the patch-1 branch July 8, 2013 13:29
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.

2 participants