Replies: 1 comment
-
See #2795 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to add a "copy code" button on top of the liquid tags:
I've attempted a few guides:
https://experimentingwithcode.com/creating-a-jekyll-blog-with-bootstrap-4-and-sass-part-4/
https://www.aleksandrhovhannisyan.com/blog/dev/how-to-add-a-copy-to-clipboard-button-to-your-jekyll-blog/
Both "out of the box" are not functional when running locally. I was able to get a portion working with copy code if I remove the linenos. Otherwise with linenos setup (which I absolutely love in the more recent versions) it copies the entire table including the line numbers. Not sure if there is an elegant solution there.
I may just need to dig in a bit more on the JS front of things to get it truly working, but thought I'd see if there was interest of just adding it to the base of Minimal Mistakes all together.
Beta Was this translation helpful? Give feedback.
All reactions