How to add a copy button to code blocks
Readers of a tutorial copy every command. Selecting text by hand is slow and picks up the “$” at the start. One line gives every code block a button that copies exactly what should be pasted.
- One-time payment
- Any website builder
- Live in about 5 minutes
Try it live ↓
Try Copy Code right here
Press Copy on the block, then paste somewhere: the “$” is left out.
Works on the code blocks you already have, whatever made them
Leaves out the “$ ” before shell commands
The button stays in the corner while long lines are scrolled
How to add it to your website
Buy once, add your website in Fluri and pick Copy Code. You get one line of code like this:
<script defer src="https://fluri.xyz/install/loader.js" data-site="your-site-key"></script>
After that, change settings, pause it or switch themes from your dashboard. You never edit your site again.
- In WordPress, go to Plugins → Add New and install a header and footer code plugin such as WPCode.
- Open Code Snippets → Add Snippet → Add Your Custom Code, and choose HTML snippet.
- Paste your Fluri snippet, set Location to Site Wide Footer and switch the snippet to Active.
- Save, open your website and press Check installation in your Fluri dashboard.
On a classic theme you can instead paste the snippet just before </body> in your theme’s footer.php (use a child theme so updates don’t remove it). Full WordPress guide
- In Shopify admin, go to Online Store → Themes.
- Next to your live theme, open the … menu and choose Edit code.
- Open layout/theme.liquid and paste your Fluri snippet just before </body>.
- Save, then open your store and press Check installation in your Fluri dashboard.
Register your store’s real domain (for example shop.com). If you only use the myshopify.com address, register that instead. Full Shopify guide
- Open your project and go to Site settings → Custom code.
- Paste your Fluri snippet into Footer code.
- Save changes and publish your site.
- Open the published site and press Check installation in your Fluri dashboard.
Custom code requires a paid Webflow site plan. Register the domain you publish to. Full Webflow guide
- In your Wix dashboard, open Settings → Custom code (under Advanced).
- Click + Add Custom Code and paste your Fluri snippet.
- Choose All pages, set Place code in to Body – end, and apply.
- Open your published site and press Check installation in your Fluri dashboard.
Wix only runs custom code on a premium plan with a connected domain. Full Wix guide
- Go to Settings → Advanced → Code Injection.
- Paste your Fluri snippet into the Footer box.
- Save, then open your live site.
- Press Check installation in your Fluri dashboard.
Code Injection is available on Squarespace Core plans and higher. Full Squarespace guide
- Open your project and go to Site Settings → General → Custom Code.
- Paste your Fluri snippet into End of <body> tag.
- Publish your site.
- Open the published site and press Check installation in your Fluri dashboard.
Register the domain you publish to (your custom domain or the framer.app address). Full Framer guide
- Open the HTML file or template that every page shares (often a layout or footer file).
- Paste your Fluri snippet just before the closing </body> tag.
- Deploy or upload the change.
- Open the live site and press Check installation in your Fluri dashboard.
Works with React, Next.js, Astro, Vue and static sites. In Next.js, use the Script component with strategy="afterInteractive" and the same attributes. Full HTML / any site guide
More effects to try
Every theme is included for $19. Switch whenever you like.
Questions
Something else? Send us a message.
Does it work with Prism, highlight.js or Shiki?
Yes. It works on ordinary pre blocks, so it doesn’t matter which highlighter, or none, coloured the code.
Why leave out the “$”?
Tutorials show “$ npm install” to mark a shell command, but the “$” is not part of the command. Copied with it, the command fails. You can switch this off.
Can the button appear on hover only?
Yes. On touch screens, where there is no hover, it stays visible.
How much does it cost?
$19 once, with no subscription. That includes Copy Code and all 65 other themes, on as many websites as you like.
Give your website a little life today.
Pick a theme, pay once, paste one line. It’s live in minutes.







