open-index/open-npm huggingface dataset:
npm package: @highlightjs/cdn-assets
Description: Syntax highlighting with language autodetection. (pre-compiled CDN assets)
Author: Josh Goebel
Latest version: 11.11.1

# Highlight.js CDN Assets

[![install size](https://packagephobia.now.sh/badge?p=highlight.js)](https://packagephobia.now.sh/result?p=highlight.js)

**This package contains only the CDN build assets of highlight.js.**

This may be what you want if you'd like to install the pre-built distributable highlight.js client-side assets via NPM. If you're wanting to use highlight.js mainly on the server-side you likely want the [highlight.js][1] package instead.

To access these files via CDN:<br>
https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/

**If you just want a single .js file with the common languages built-in:
<https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/highlight.min.js>**

---

## Highlight.js

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

If you'd like to read the full README:<br>
<https://github.com/highlightjs/highlight.js/blob/main/README.md>

## License

Highlight.js is released under the BSD License. See [LICENSE][7] file
for details.

## Links

The official site for the library is at <https://highlightjs.org/>.

The Github project may be found at: <https://github.com/highlightjs/highlight.js>

Further in-depth documentation for the API and other topics is at
<http://highlightjs.readthedocs.io/>.

A list of the Core Team and contributors can be found in the [CONTRIBUTORS.md][8] file.

[1]: https://www.npmjs.com/package/highlight.js
[7]: https://github.com/highlightjs/highlight.js/blob/main/LICENSE
[8]: https://github.com/highlightjs/highlight.js/blob/main/CONTRIBUTORS.md
npm package: @highlightjs/generator
Description: Yeoman generator for Highlight.js languages and styles
Latest version: 0.2.1

# @highlightjs/generator

[![npm](https://flat.badgen.net/npm/license/@highlightjs/generator)](https://www.npmjs.org/package/@highlightjs/generator)
[![npm](https://flat.badgen.net/npm/v/@highlightjs/generator)](https://www.npmjs.org/package/@highlightjs/generator)
[![CircleCI](https://flat.badgen.net/circleci/github/idleberg/generator)](https://circleci.com/gh/idleberg/generator)
[![David](https://flat.badgen.net/david/dep/idleberg/generator)](https://david-dm.org/idleberg/generator)

## Description

[Yeoman](http://yeoman.io/authoring/user-interactions.html) generator for Highlight.js languages and styles

## Installation

Use your preferred [Node](https://nodejs.org/) package manager to install the generator

```sh
npm i @highlightjs/generator -g
```

## Usage

Create a directory in which you want to scaffold your new language or style. Next, run the generator and follow its instructions.

```sh
# Scaffold a new language
hljs language

# Scaffold a new style
hljs style
```

## License

This work is licensed under the [BSD 3-Clause &#34;New&#34; or &#34;Revised&#34; License](https://opensource.org/licenses/BSD-3-Clause)