Hacker News new | ask | show | jobs
by habibur 268 days ago
Right click -> view source.

Found "<span class=..." — What?

Read the page.

Footer : "I only got 99% of the way there. I use 11ty’s syntax highlighting plugin, which uses classes for styling."

2 comments

I think that's fair. It's not semantic information (I mean in a way I guess it is, but you wouldn't want a screen reader to present it as such), so classes are fine there.
It says no class though.
Yeah, that title is absurd. The page contains 175 "class=..." attributes.
It’s mentioned in the article that code highlights still use classes.