|
You are here |
amanhimself.dev | ||
| | | | |
rishikeshs.com
|
|
| | | | | How to properly configure Hugo's Chroma syntax highlighter to work with language hints in markdown code blocks. | |
| | | | |
ttntm.me
|
|
| | | | | About 61 lines of JavaScript that progressively enhance user experience. | |
| | | | |
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,... | |
| | | | |
github.com
|
|
| | | Go extension for Visual Studio Code. Contribute to golang/vscode-go development by creating an account on GitHub. | ||