Socket
Socket
Sign inDemoInstall

@highlightjs/cdn-assets

Package Overview
Dependencies
0
Maintainers
4
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @highlightjs/cdn-assets

Syntax highlighting with language autodetection. (pre-compiled CDN assets)


Version published
Maintainers
4
Install size
3.22 MB
Created

Changelog

Source

Version 11.6.0

Supported Node.js versions:

  • (chore) Drops support for Node 12.x, which is no longer supported by Node.js.

Default build changes:

  • add wasm to default :common build (#3526) [Josh Goebel][]
  • add graphql to default :common build (#3526) [Josh Goebel][]

Grammars:

  • fix(json) changed null/booleans from keyword to literal [shikhar13012001][]
  • enh(gml) reorganized and added additional keywords [Bluecoreg][]
  • enh(csharp) Added support for the new scoped keyword in C# (#3571) [David Pine][]
  • enh(scala) add transparent keyword [Matt Bovel][]
  • fix(rust) highlight types immediately preceeding :: (#3540) [Josh Goebel][]
  • Added 3rd party Apex grammar to SUPPORTED_LANGUAGES (#3546) [David Schach][]
  • fix(rust) recognize include_bytes! macro (#3541) [Serial-ATA][]
  • fix(java) do not intepret == as a variable declaration [Mousetail][]
  • enh(swift) add SE-0335 existential any keyword (#3515) [Bradley Mackey][]
  • enh(swift) add support for distributed keyword [Marcus Ortiz][]
  • enh(xml) recognize Unicode letters instead of only ASCII letters in XML element and attribute names (#3256)[Martin Honnen][]
  • Added 3rd party Toit grammar to SUPPORTED_LANGUAGES [Serzhan Nasredin][]
  • Use substring() instead of deprecated substr() [Tobias Buschor][]
  • Added 3rd party Oak grammar to SUPPORTED_LANGUAGES [Tim Smith][]
  • enh(python) add match and case keywords [Avrumy Lunger][]
  • Added 3rd party COBOL grammar to SUPPORTED_LANGUAGES [Gabriel Gonçalves][]

Readme

Source

Highlight.js CDN Assets

install size

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 package instead.

To access these files via CDN:
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:
https://github.com/highlightjs/highlight.js/blob/main/README.md

License

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

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 file.

Keywords

FAQs

Last updated on 13 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc