Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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."



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: