![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@highlightjs/cdn-assets
Advanced tools
Changelog
Version 10.1.0
New themes:
Parser Engine:
keywords.$pattern
key to grammar definitions (#2519) [Josh Goebel][]registerAliases
method (#2540) [Taufik Nurrohman][]on:begin
callback for modes (#2261) [Josh Goebel][]on:end
callback for modes (#2261) [Josh Goebel][]END_SAME_AS_BEGIN
mode to replace endSameAsBegin
parser attribute (#2261) [Josh Goebel][]fixMarkup
would rarely destroy markup when useBR
was enabled (#2532) [Josh Goebel][]Deprecations:
htmlbars
grammar is now deprecated. Use handlebars
instead. (#2344) [Nils Knappmeier][]highlightBlock
result.re
deprecated. Use result.relevance
instead. (#2552) [Josh Goebel][]result.second_best.re
=> result.second_best.relevance
(#2552)lexemes
is now deprecated in favor of keywords.$pattern
key (#2519) [Josh Goebel][]endSameAsBegin
is now deprecated. (#2261) [Josh Goebel][]Language Improvements:
readonly
keyword (#2562) [Martin (Lhoerion)][]OPTIMIZE:
and HACK:
to the labels highlighted inside comments [Josh Goebel][]pair
, make_pair
, priority_queue
as built-ins (#2538) [Hankun Lin][]priority_queue
pair
as cpp containers (#2541) [Hankun Lin][]set
keyword conflicting with setTimeout, etc. (#2514) [Vania Kucher][]=>
function with nested ()
in params now works (#2502) [Josh Goebel][]=>
function with nested ()
in params now works (#2502) [Josh Goebel][]@objcMembers
was being partially highlighted (#2543) [Nick Randall][]late
and required
keywords, the Never
built-in type, and nullable built-in types (#2550) [Sam Rawlins][]Readme
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 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
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.
FAQs
Syntax highlighting with language autodetection. (pre-compiled CDN assets)
The npm package @highlightjs/cdn-assets receives a total of 56,320 weekly downloads. As such, @highlightjs/cdn-assets popularity was classified as popular.
We found that @highlightjs/cdn-assets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.