/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

its.mw
| | aaronluna.dev
2.4 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,...
| | helenchong.dev
2.1 parsecs away

Travel
| | How I added a button to copy code snippets to my website with JavaScript.
| | www.dannyguo.com
2.2 parsecs away

Travel
| | [AI summary] A tutorial on adding code copy-to-clipboard buttons exclusively in Hugo static site generator websites.
| | arnorhs.dev
10.8 parsecs away

Travel
| Recently, a new static site generator (SSG) arrived on the block called Astro. Lets talk a bit about SSGs. What they're good for, what they're not and why I think Astro is a bit of a game changer.