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

npm compatibility #10

Closed
wants to merge 2 commits into from
Closed

npm compatibility #10

wants to merge 2 commits into from

Conversation

isaacs
Copy link
Contributor

@isaacs isaacs commented Dec 28, 2010

I'd really like to get this markdown lib into the nodejs/npm ecosystem, since it's pretty nice and definitely the most full-featured pure-js markdown parser.

TJ has renamed his "markdown" lib to "discount", which makes more sense, since it's really just nodejs bindings to the C discount lib. I'd have used that, but it doesn't compile easily on Solaris, and also doesn't expose as much of the parser goodies.

These two changes make the package easily compatible with express (currently the go-to nodejs web framework). The version is bumped so that it can be clear that it is a break from the 0.1.x "markdown" package, although the exposed nodejs API is backwards compatible with the index.js that I added.

If you would like to move the stuff in the npm overlay in the package.json out to the top-level object, then that would be fine with me, of course, but I didn't want to disturb anything that you might be using it for.

Ash Berlin is now an owner of the "markdown" package name on npm's registry, so you should be able to publish this without any problems.

It would of course be fine with me to put the npm overlay stuff into the
top-level object, but I didn't want to disturb anything else that might
be using this, as it is a very portable project.
@ashb
Copy link
Collaborator

ashb commented Dec 28, 2010

Pulled and published as markdown in the npm registry.

This pull request was closed.
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