Improvement to "Copy to Clipboard" implementation guidance #1826
-
I found the CHANGELOG.md clipboard guidance confusing to me. It said "To enable the new clipboard icon, you need to add code_clipboard: true to the frontmatter of source/index.html.md.", but the other steps needed aren't explicitly mentioned. I'm unsure if I'm allowed to create a PR into slatedocs/slate to suggest changes and looks like the copy-to-clipboard functionality may change, so putting my proposal for improved guidance here in case anyone else needs it in the meantime:
(I found the bool unnecessary in my implementation for my purposes) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Something like this would be a good addition to the Wiki I think. Feel free to add a page and add it to the index? |
Beta Was this translation helpful? Give feedback.
Something like this would be a good addition to the Wiki I think. Feel free to add a page and add it to the index?