Create a button that says "Download Script" and link it directly to that file URL. The "Copy & Paste" Method: Code Blocks
If you want users to see the code before they grab it, use a code block with a "Copy" button. HOW TO GET SCRIPTS FROM MY WEBSITE VERY EASY
If you’re on WordPress, tools like Enlighter or Code Block Pro make this look professional. Create a button that says "Download Script" and
Getting scripts from your site doesn't have to be a headache. Whether you’re sharing tools with your audience or just want a smooth workflow for yourself, here is the easiest way to do it. Getting scripts from your site doesn't have to be a headache
When you update the code on GitHub, it automatically updates on your website! Important Tip: Check Permissions
Compress your script files into a .zip folder (this prevents browsers from trying to run the code instead of downloading it).