
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
Prism.js theme for Highlight.js library.
| Browser | Version |
|---|---|
| Highlight.js | >= 11 |
npm install hljs-prism
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Highlight.js Prism</title>
<!-- CSS -->
<link href="https://cdn.jsdelivr.net/npm/hljs-prism/hljs-prism.css" rel="stylesheet">
</head>
<body>
<pre>
<code class="language-css">body { color: green; }</code>
</pre>
<!-- JS -->
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.11.1/build/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Highlight.js Prism</title>
<!-- CSS -->
<link href="css/hljs-prism.css" rel="stylesheet">
</head>
<body>
<pre>
<code class="language-css">body { color: green; }</code>
</pre>
<!-- JS -->
<script src="js/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</body>
</html>
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Prism.js theme for Highlight.js library.
We found that hljs-prism demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.