nocopy codeblocks #7007
sebawita
started this conversation in
Feature Requests
Replies: 1 comment
|
hey, it's live!! https://www.mintlify.com/docs/create/code#hide-copy-button |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
It would be useful to have an option to disable the copy button on code blocks, or to mark certain lines as non-copyable. This would be helpful for code blocks used purely for formatting/display purposes (e.g. showing terminal output or non-executable snippets) where copy-pasting the content doesn't make sense.
proposed API:
All reactions