jperasmus / docsify-copy-code

A docsify plugin that copies Markdown code block to your clipboard
MIT License
99 stars 72 forks source link

Patch for v1 installations #8

Closed jhildenbiddle closed 6 years ago

jhildenbiddle commented 6 years ago
jhildenbiddle commented 6 years ago

Hi again, @jperasmus!

Thought I'd make offer two quick updates that may save some frustration.

In hindsight, I wish I had done this in the initial PR. It feels a little weird to have an index.js in the root of an NPM module that is just a patch for older installs, but I don't know of a better way to work around the v2 breaking changes.

Thanks, and apologies for any headaches the breaking change may have caused. 🙄

jperasmus commented 6 years ago

Thanks for the changes, this should alleviate some of the pains we've seen. I don't mind the school of hard knocks - learning from the experience 🤓