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
Weekly downloads
63K
increased by12.89%
Maintainers
4
Created
Weekly downloads
 

Changelog

Source

Version 10.2.0

Parser Engine:

  • (fix) When ignoring a potential match highlighting can terminate early (#2649) [Josh Goebel][]

New themes:

  • Gradient Light by Samia Ali

Deprecations:

  • fixMarkup is now deprecated and will be removed in v11.0. (#2534) [Josh Goebel][]

Big picture:

  • Add simple Vue plugin for basic use cases (#2544) [Josh Goebel][]

Language Improvements:

  • fix(bash) Fewer false positives for keywords in arguments (#2669) [sirosen][]
  • fix(js) Prevent long series of /////// from causing freezes (#2656) [Josh Goebel][]
  • enh(csharp) Add init and record keywords for C# 9.0 (#2660) [Youssef Victor][]
  • enh(matlab) Add new R2019b arguments keyword and fix enumeration keyword (#2619) [Andrew Janke][]
  • fix(kotlin) Remove very old keywords and update example code (#2623) [kageru][]
  • fix(night) Prevent object prototypes method values from being returned in getLanguage (#2636) [night][]
  • enh(java) Add support for enum, which will identify as a class now (#2643) [ezksd][]
  • enh(nsis) Add support for NSIS 3.06 commands (#2653) [idleberg][]
  • enh(php) detect newer more flexible HEREdoc syntax (#2658) [eytienne][]

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/master/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/.

Authors and contributors are listed in the AUTHORS.txt file.

Keywords

FAQs

Last updated on 07 Sep 2020

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc