Join the discussion
Write your take first — we'll ask for email only when you're ready to publish.
- Hacker News
- good to see dave still out there doing his thingby relativeadv
- Really cool! It’s a shame that the CSS Highlight API only allows changing the color and not the font.by xigoi
- Or even setting bold would be nice.by crummy
- Replaced Shiki on a docs site, grammar pack was bigger than the rest of the JS. 2KB for color-only feels like a fair trade.by tabwidth
- For me, a little highlighting goes a long way. I don't like my code looking like a box of Crayola crayons. Throwing in multiple fonts doesn't sound helpful at all.by SoftTalker
- I'm not trying to be rude or unappreciative, but it's kinda crazy to me that the website itself doesn't contain the demo of the thing? I see sample code to implement it on my own site, but the site itself doesn't seem to have any highlighting or I highlighted some text and didn't see anything unusual? Maybe it's just me, maybe I'm missing something here? I'd like to see an example of what a thing does before straight up installing the code on my website.
- The site linked to is a blog post about the app. The actual site is linked in there, and if you follow that link there are examples.
OP probably should have put an example in this post. That said they look like... syntax highlighted code.
by tomtheelder - The code snippets are highlighted, presumably using microlighter?by what