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

Requesting pull to expose Markdown.HookCollection to node.js #67

Open
GoogleCodeExporter opened this issue Apr 26, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

I'd like to use the HookCollection type in some pagedown add-ons I'm writing, 
but as I'm using pagedown within node.js, I currently can't access 
Markdown.HookCollection as it isn't exposed in node-pagedown.js.

I've made a simple patch which just exposes Markdown.HookCollection in the same 
way Markdown.Converter is exposed.

It's located at 
https://bitbucket.org/ncraike/pagedown/commits/aeae84e3d59c144640de752a8736c2657
b4a1439 .

You can also pull from my fork of pagedown at 
https://bitbucket.org/ncraike/pagedown . This will just include one additional 
commit, 
https://bitbucket.org/ncraike/pagedown/commits/4a75fb76e3af50c5bc560f2f0f0a6ff19
36acd39 , which sets HookCollection.prototype.constructor to point to the 
HookCollection() function.

Original issue reported on code.google.com by [email protected] on 7 Nov 2013 at 8:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant