Great!
In general, I suspect there are many big websites using Prism that we have not featured. I mean, we have 3 million weekly downloads on npm alone!
I wonder how we could find them...
Look at https://www.nerdydata.com/
Search for prism.js, prism.min.js, or prismjs.
I often "get a feel" for it when I see the code blocks on a website, somehow.
Note that NodeJS still uses HighlightJS in the API docs.
From a quick tour I just did on some tech websites (in quite a random order):
Tailwind CSS uses Prism too (at least the tokenizer).
Preact (https://github.com/preactjs/preact-www/tree/master/src/components/code-block)
Svelte (https://github.com/sveltejs/svelte/blob/master/site/src/utils/highlight.js#L2)
Deno (https://github.com/denoland/deno_website2/blob/master/components/CodeBlock.tsx#L4)
And probably many many more. :)
EDIT : Styled Components (https://github.com/styled-components/styled-components-website/blob/master/utils/prismTemplateString.js),
Emotion,
most likely Prettier (even though there is some hljs classes still in there),
Autoprefixer (https://github.com/autoprefixer/autoprefixer.github.io/blob/master/src/highlight.js),
David Walsh blog...
We should feature all these sites in the homepage! At least the big ones!
I think if we decide to feature more websites on the homepage, we'll need to revisit the design though, cause we can't spam a lot more logos as huge as they are right now haha.
Here are my findings.
Docs for frameworks and libraries
Site generators
Text editors
Contents/Resources/Prism/ directory);@ephox/wrap-prismjs package wraps PrismJS in a ECMAScript 2015 module.PaaS & other sites
refractor. 2M downloads weekly.
I wonder if we should have a longer text-only list of websites using Prism, in addition to the bigger ones that we list with logos.
I wonder if we should have a longer text-only list of websites using Prism
I wonder. For most of those sites, libraries, and frameworks, using Prism is probably just an implementation detail, so I would expect a text-only list to change "frequently" (maybe every month or so depending on the length of the list) and I wouldn't want to check and update it manually.
But I am very much for diversifying and extending our current list of popular sites.
Maybe another site to add to the list:
This is HUGE: Google's web.dev uses Prism!! Evidence: https://web.dev/publish-modern-javascript/
We should definitely list this on the homepage!
Most helpful comment
This is HUGE: Google's web.dev uses Prism!! Evidence: https://web.dev/publish-modern-javascript/
We should definitely list this on the homepage!