#syntax-highlighting

Patrick :neocat_flag_bi:patrick@hatoya.cafe
2026-03-12
N-gated Hacker Newsngate
2026-02-24

🖥️ Oh, wow! Someone actually took the time to port to a , proving that you too can waste hours of your life for an unnoticeable boot time . 🕒🔍 Meanwhile, the rest of us are just trying to choose between 50 shades of syntax highlighting themes, because that's what really matters, right? 🎨👨‍💻
dork.dev/posts/2026-02-20-port

WPNEWS.iowpnewsio
2026-02-19

Last year, WordPress.com introduced new code editors for the block editor and the Additional CSS input box in the WordPress admin. This was the first stage of a larger effort[…]
 

ift.tt/f3giDO6

Gabriel Sanchesgbrlsnchs@hachyderm.io
2026-02-17
2026-02-14

Arborium is AI slopware and should not be trusted: A blog post about my recent experiences trying to make a syntax highlighter work and instead running face first into the horrors

https://ewie.online/posts/20260214-arborium-is-ai-slopw/


#dev #syntax-highlighting #web-dev

Published my port of the Alabaster theme family for Helix.

Alabaster is a minimal syntax highlighting approach by Nikita Prokopov (tonsky) - only 4 semantic colors: strings, constants, comments, and definitions. Everything else stays plain text because code structure is already clear from formatting.

I've ported all 6 variants (light/dark × standard/BG/mono) from the original Sublime theme (staying as close as possible to the original). Also submitted a PR to ship these with Helix upstream!

Original theme: github.com/tonsky/sublime-sche
Read tonsky's essay: tonsky.me/blog/syntax-highligh
My port: github.com/wolf/alabaster-for-

I tried to duplicate the original exactly, however Helix has multiple selections so I made the colors distinct between "selection" and "primary-selection".

#HelixEditor #Helix #Alabaster #MinimalDesign #SyntaxHighlighting #TextEditor #Rust

The Helix editor using the light-background Alabaster theme viewing a sample Rust file.The Helix editor using the dark-background Alabaster theme viewing a sample Rust file.
N-gated Hacker Newsngate
2026-01-01

A font that highlights TeX syntax? Groundbreaking! 🤯 Forget years of innovation in editors and typesetting systems - just slap a color palette on your font and call it a day! 🎨 Who needs when you have... colors? 🤦‍♂️
rajeeshknambiar.wordpress.com/

N-gated Hacker Newsngate
2025-12-23

🚀 Breaking news! 🎉 Web developers are now expected to install a font to solve all their coding woes. Because clearly, the problem with hand-coding websites wasn't the lack of caffeine or sanity, but the absence of syntax-highlighted fonts. 😂
blog.glyphdrawing.club/font-wi

N-gated Hacker Newsngate
2025-12-15

🚀 Behold! A dazzling spectacle of syntax highlighting that only a true tree-sitter enthusiast could love. 🤓 Dive into the riveting world of "Arborium," where and join forces to deliver the most thrilling experience since watching paint dry. 🌳✨ Prepare your mind to be mildly entertained by randomly selected themes, because who doesn't love a good in their syntax highlighting? 😂
arborium.bearcove.eu/

Patrick :neocat_flag_bi:patrick@hatoya.cafe
2025-12-10
Learn JavaScript, React, and TypeScript to Node.js, Fullstack, and Backendfrontendmasters.com@web.brid.gy
2025-12-09
    n8   Doesn't follow you 🇺🇦n8
2025-12-07

Open question for folks who've written/maintained engines/themes/modes (in lingo): either for or :

Do you maintain keyword-lists/regular-expressions for terms _in_ the relevant specification that are not used as function/variable/module identifiers? And if so, how do you distinguish them from such "active" particles?

E.g., GSUB lookups in the std have specific names like SingleSubstFormat1 . Ideally that's not reused.

2025-11-19

Code written in Rust🦀️ fails fast rather than having memory consistency errors. But when it fails, it fails hard, as seen in yesterday's Cloudflare outage.

Is it time for syntax highlighters to highlight panic! and unwrap the same way?

#rustlang #cloudflare #CloudflareOutage #SyntaxHighlighting

Jens Oliver Meiert 🇺🇳 🇵🇸j9t@mas.to
2025-11-14

Is there a light, viable code syntax highlighting solution that uses the Custom Highlight API?

Searched around, also found a post by @bramus that suggested Prism could do this, but I found nothing to support this on prismjs.com. (Bramus, what did I miss?)

Any suggestions or recommendations?

drafts.csswg.org/css-highlight

#css #syntaxhighlighting #apis

Frontend Dogmafrontenddogma@mas.to
2025-11-11

High-Performance Syntax Highlighting With [the] CSS Highlights API, by (not on Mastodon or Bluesky):

pavi2410.com/blog/high-perform

#css #apis #syntaxhighlighting

2025-11-01

Now I learned that you can include parts of a source file into Javadoc with

{@snippet file=SomeSource.java}

and this since JDK-18. Yet it took only a very short time to notice that something important is missing:😩

bugs.openjdk.org/browse/JDK-83

#Java #Javadoc #codeSnippets #syntaxHighlighting

रञ्जित (Ranjit Mathew)rmathew
2025-10-19

I can get behind this (for quite a while, I didn’t use syntax-highlighting & didn’t miss it; now I do):

“Why I Use Minimal Syntax Highlighting” [2019], Caleb Spare (ctrl-c.us/posts/highlight).

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst