Description
Create text spans which are click-to-copy.
Additional Information
Links: | |
---|---|
Maintainers: | cxcqgjjs |
Version: | 1.1.2 |
Minimum app version: | 3.2 |
Downloads: This version: | 33 |
Last updated: | 2025-05-28T04:05:04Z |
Joplin Plugin - Click-to-Copy Spans
This Joplin plugin allows you to create inline click-to-copy text spans.
Version: 1.1.2
Installation
- Open Joplin and navigate to
Preferences > Plugins
- Search for
click-to-copy
and click install - Restart Joplin
Uninstall
- Open Joplin and navigate to
Tools > Options > Plugins
- Search for
Click-to-copy
plugin - Press
Delete
to remove the plugin orDisable
to disable it - Restart Joplin
Usage
Click-to-copy spans
In order to create a Click-to-Copy Span, you can:
- press on the
Click-to-Copy Span
toolbar button to create a template span, or - highlight text then press on the
Click-to-Copy Span
toolbar button to convert it to a span, or - or manually type in the following format:
[[insert text here]]
You can additionally make the text within the span render as inline code by wrapping the entire contents of the span in backticks, like so:
[[`This will render as inline code, but still be click-to-copy`]]
Screenshots
Use it for things you may frequently want to copy/paste
Custom styles
If you would like to style the collapsible blocks to your preference, use the following in your userstyle.css
file, which can be accessed in Joplin
→ Options
→ Appearance
→ Show Advanced Settings
→ Custom stylesheet for rendered Markdown
:
/* Styling of the click-to-copy spans */
.ctc {
}
Settings
There is a settings page for the plugin in the Joplin options. There, you can customize the start and end tokens away from the default [[
and ]]
. You can also disable having the spans appear in the editor if you'd prefer only the raw text there.
Notes
- There might be bugs, report them here and I'll try to fix them if I can.
Acknowledgement
Thanks to the creator of the Joplin Spoilers plugin, whose code helped me build this plugin.