Hacker News new | ask | show | jobs
Web2md: Chrome extension to copy webpage as Markdown (github.com)
2 points by leCaptain 462 days ago
2 comments

That looks like a really old version of turndown.js, pre-ES6. The link to turndown in the readme is the old one, too. How long ago did you make this? Anyway, you need to put turndown's license in the js file or someplace if you're not going to use npm for some reason.
fixed the readme; i used the turndown from mixmark-io/turndown repo.

regarding license: i figured it'd be fine with MIT license but i noticed after your comment that the turndown licence has a copyright line.

what's the right thing to do here? do i add turndown's license along with existing MIT one or replace the license in my repo with turndown's?

The MIT license is pretty simple:

> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

I would just put it in a comment at the top of turndown.js. That's enough to fulfil the license requirements. I know a lot of people don't care, but good to do it right. Definitely don't replace your license with theirs though :)

If you use Joplin, their extension for Chromium-based browsers will also copy pages as Markdown and save them to your (encrypted) notebook in Joplin.