NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.21k stars 14.2k forks source link

Add node package highlight.js #152201

Open McSinyx opened 2 years ago

McSinyx commented 2 years ago

Project description

Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server. It can work with pretty much any markup, doesn’t depend on any other frameworks, and has automatic language detection.

Metadata

I tried to add it myself but on my (poor) connection after 4 hours pkgs/development/node-packages/generate.sh still hasn't finished, so it would be rather difficult for me to keep up with conflicts etc.

MangoIV commented 2 years ago

I tried to package this but it doesn't build against nodePackages_latest currently but only against nodePackages.

MangoIV commented 2 years ago

I don't know whether it is still recommended to open a PR for it, but I would need to know in time so I do not need to rebuild everything as soon as another node package gets merged :)