Lea Verou · @leaverou
5694 followers · 437 posts · Server front-end.social

Wow, , the syntax highlighter I started in 2012 after being fed up with the aesthetics and ergonomics of the existing options, has exceeded 1 BILLION total npm downloads!
npm-stat.com/charts.html?packa

We couldn’t have gotten there without Prism’s fantastic maintainer team (Golmote, Michael Schmidt, James DiGioia, Jason Kurian), Prism’s 375 contributors, and ecosystem of almost 4k dependent projects.
Thank you all, you rock!

#prismjs

Last updated 2 years ago

𝗣𝗠𝗝 👽 · @pmj
428 followers · 17732 posts · Server social.pmj.rocks

@wutti

kennst du ?
prismjs.com/

hab gerade den beitrag über pihole überflogen und da hats relativ viel code der das lesen imo bisschen unübersichtlich macht

sieht dann ungefähr so aus

#prismjs

Last updated 2 years ago

Pratham Patel :ferrisdance: · @thefossguy
68 followers · 113 posts · Server fosstodon.org

@jhpratt For too!

#prismjs

Last updated 2 years ago

Bryce Wray · @BryceWrayTX
702 followers · 432 posts · Server mstdn.social

Code for copying code: the Eleventy edition

Here’s a workaround for including “copy” buttons in code blocks built by Prism-based syntax highlighting in Eleventy.

brycewray.com/posts/2023/02/co

#prismjs #prism #chroma #hugo #eleventy #Development #codeblocks #JavaScript #CSS #staticsitegenerators #WebDev

Last updated 3 years ago

Nicd :unverified: · @nicd
285 followers · 1255 posts · Server fosstodon.org

didn't have syntax highlighting with yet, so I made a preliminary test one and integrated it into my pastebin. Now that this has been corrected, I can continue writing Gleam code. :D

Demo file: nicd.gitlab.io/t/#BH3$Mma?_U_S

The grammar itself: nicd.gitlab.io/t/#DxgDf?TuwTR3

#gleam #prismjs

Last updated 3 years ago

Nicd :unverified: · @nicd
283 followers · 1251 posts · Server fosstodon.org

(My pastebin doesn't have Gleam syntax highlighting because neither nor " have it available…)

#prismjs #highlightjs

Last updated 3 years ago