Explore >> Select a destination


You are here

jordemort.dev
| | aaronluna.dev
1.8 parsecs away

Travel
| | Hugo includes a built-in syntax-highlighter called Chroma. Chroma is extremely fast since it is written in pure Go (like Hugo) and supports every language I can think of. Chroma's speed is especially important since syntax highlighters are notorious for causing slow page loads. However, it lacks one vital feature - an easy way to copy a code block to the clipboard. I decided to document my implementation using only vanilla JS since every blog post I found for this issue relied on jquery to parse the DOM,...
| | www.aleksandrhovhannisyan.com
2.8 parsecs away

Travel
| | Add a copy-to-clipboard button to your Jekyll blog with a simple include and a few lines of JavaScript.
| | helenchong.dev
1.8 parsecs away

Travel
| | How I added a button to copy code snippets to my website with JavaScript.
| | robr.dev
26.9 parsecs away

Travel
| Three things from this week. This week I've been following a lot of random threads again. Here are a few of them. Octoprint If you use a 3d printer you might be interested in Octoprint. It runs on a computer connected to the printer and handles a bunch of features like managing prints sent to the printer, tracking progress, or (with a webcam) streams video of the printer while it works.