4 ms·
Now we only need to force bloggers to stop using GitHub Gist embeds. Hugo (and probably other static site generators) has built-in support for code snippets wit
by ethanol 2y ago
Now we only need to force bloggers to stop using GitHub Gist embeds. Hugo (and probably other static site generators) has built-in support for code snippets with syntax highlighting, and more dynamic sites can rely on highlight.js which removes dependence on third-party services. It's just insane, using heavy iframes for small code snippets.
https://gohugo.io/content-management/syntax-highlighting/ https://gohugo.io/content-management/syntax-highlighting/
https://highlightjs.org https://highlightjs.org
- withinboredom 2y agoI remember when I worked at Automattic and discovered that the gist's heart emoji was actually served by WordPress and not GitHub. They fixed it within a few weeks, but it was like that for years...
- arp242 2y ago> force bloggers to stop using GitHub Gist embeds Or maybe just let people do what they want on their own site, even though you or I might not like it? "Forcing" people to change their sites to suit your preferences is ridiculous.