|
You are here |
zserge.com | ||
| | | | |
cronokirby.com
|
|
| | | | | - Read more: https://cronokirby.com/posts/2020/10/my-blog-version-4/ | |
| | | | |
aaronluna.dev
|
|
| | | | | 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.bram.us
|
|
| | | | | Can you Syntax Highlight a code snippet on the web without overloading the DOM with a ton of elements wrapped around the tokens? Thanks to the Custom Highlight API, you can! | |
| | | | |
www.frontendundefined.com
|
|
| | | This post describes how a React project can be set up from scratch with Webpack, Babel and their plugins | ||