Ovski4 / jekyll-tabs

Add tabs on your pages with this Jekyll plugin
MIT License
26 stars 15 forks source link

Copy code #8

Closed jmount1992 closed 1 year ago

jmount1992 commented 1 year ago

Another great feature to add to the plugin would be a copy code feature in-built.

Ovski4 commented 1 year ago

That's a good idea 🤔

I'm not sure if I should start accepting all requests since people are free to fork this project, but it's not so bad as long as it's configured and people can turn on / or off the features as they want.

Like mentioned in the previous issue, I pushed some changes to the tabs.js file that will allow you to do that. This behavior will be turned off by default.

You can:

Let me know if that works for you 🙂

jmount1992 commented 1 year ago

Also worked perfectly and easy to implement!