πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
Book a DemoInstallSign in
Socket

lowlight

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lowlight - npm Package Compare versions

Comparing version

to
3.2.0

lib/all.d.ts.map

3

lib/all.d.ts

@@ -7,2 +7,3 @@ /**

export const grammars: Record<string, LanguageFn>;
export type LanguageFn = import('highlight.js').LanguageFn;
import type { LanguageFn } from 'highlight.js';
//# sourceMappingURL=all.d.ts.map
/**
* @typedef {import('highlight.js').LanguageFn} LanguageFn
* @import {LanguageFn} from 'highlight.js'
*/

@@ -4,0 +4,0 @@

@@ -7,2 +7,3 @@ /**

export const grammars: Record<string, LanguageFn>;
export type LanguageFn = import('highlight.js').LanguageFn;
import type { LanguageFn } from 'highlight.js';
//# sourceMappingURL=common.d.ts.map
/**
* @typedef {import('highlight.js').LanguageFn} LanguageFn
* @import {LanguageFn} from 'highlight.js'
*/

@@ -4,0 +4,0 @@

@@ -173,10 +173,2 @@ /**

};
export type Element = import('hast').Element;
export type ElementContent = import('hast').ElementContent;
export type Root = import('hast').Root;
export type RootData = import('hast').RootData;
export type Emitter = import('highlight.js').Emitter;
export type HljsOptions = import('highlight.js').HLJSOptions;
export type HighlightResult = import('highlight.js').HighlightResult;
export type LanguageFn = import('highlight.js').LanguageFn;
/**

@@ -204,1 +196,4 @@ * Extra fields.

export type AutoOptions = Options & ExtraOptions;
import type { LanguageFn } from 'highlight.js';
import type { Root } from 'hast';
//# sourceMappingURL=index.d.ts.map
/**
* @typedef {import('hast').Element} Element
* @typedef {import('hast').ElementContent} ElementContent
* @typedef {import('hast').Root} Root
* @typedef {import('hast').RootData} RootData
*
* @typedef {import('highlight.js').Emitter} Emitter
* @typedef {import('highlight.js').HLJSOptions} HljsOptions
* @typedef {import('highlight.js').HighlightResult} HighlightResult
* @typedef {import('highlight.js').LanguageFn} LanguageFn
* @import {ElementContent, Element, RootData, Root} from 'hast'
* @import {Emitter, HLJSOptions as HljsOptions, HighlightResult, LanguageFn} from 'highlight.js'
*/

@@ -19,3 +12,3 @@

*
* @typedef {Object} Options
* @typedef Options
* Configuration for `highlight`.

@@ -22,0 +15,0 @@ * @property {string | null | undefined} [prefix='hljs-']

{
"name": "lowlight",
"version": "3.1.0",
"version": "3.2.0",
"description": "Virtual syntax highlighting for virtual DOMs and non-HTML things",

@@ -38,9 +38,9 @@ "license": "MIT",

"devlop": "^1.0.0",
"highlight.js": "~11.9.0"
"highlight.js": "~11.10.0"
},
"devDependencies": {
"@types/mdast": "^4.0.0",
"@types/node": "^20.0.0",
"@types/node": "^22.0.0",
"@types/unist": "^3.0.0",
"c8": "^8.0.0",
"c8": "^10.0.0",
"chalk": "^5.0.0",

@@ -51,8 +51,8 @@ "estree-util-is-identifier-name": "^3.0.0",

"prettier": "^3.0.0",
"remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^10.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"unified": "^11.0.0",
"xo": "^0.56.0"
"xo": "^0.59.0"
},

@@ -59,0 +59,0 @@ "scripts": {

@@ -15,31 +15,31 @@ <!--lint disable no-html-->

* [What is this?](#what-is-this)
* [When should I use this?](#when-should-i-use-this)
* [Install](#install)
* [Use](#use)
* [API](#api)
* [`all`](#all)
* [`common`](#common)
* [`createLowlight([grammars])`](#createlowlightgrammars)
* [`lowlight.highlight(language, value[, options])`](#lowlighthighlightlanguage-value-options)
* [`lowlight.highlightAuto(value[, options])`](#lowlighthighlightautovalue-options)
* [`lowlight.listLanguages()`](#lowlightlistlanguages)
* [`lowlight.register(grammars)`](#lowlightregistergrammars)
* [`lowlight.registerAlias(aliases)`](#lowlightregisteraliasaliases)
* [`lowlight.registered(aliasOrlanguage)`](#lowlightregisteredaliasorlanguage)
* [`AutoOptions`](#autooptions)
* [`LanguageFn`](#languagefn)
* [`Options`](#options)
* [Examples](#examples)
* [Example: serializing hast as html](#example-serializing-hast-as-html)
* [Example: turning hast into preact, react, etc](#example-turning-hast-into-preact-react-etc)
* [Types](#types)
* [Data](#data)
* [CSS](#css)
* [Compatibility](#compatibility)
* [Security](#security)
* [Related](#related)
* [Projects](#projects)
* [Contribute](#contribute)
* [License](#license)
* [What is this?](#what-is-this)
* [When should I use this?](#when-should-i-use-this)
* [Install](#install)
* [Use](#use)
* [API](#api)
* [`all`](#all)
* [`common`](#common)
* [`createLowlight([grammars])`](#createlowlightgrammars)
* [`lowlight.highlight(language, value[, options])`](#lowlighthighlightlanguage-value-options)
* [`lowlight.highlightAuto(value[, options])`](#lowlighthighlightautovalue-options)
* [`lowlight.listLanguages()`](#lowlightlistlanguages)
* [`lowlight.register(grammars)`](#lowlightregistergrammars)
* [`lowlight.registerAlias(aliases)`](#lowlightregisteraliasaliases)
* [`lowlight.registered(aliasOrlanguage)`](#lowlightregisteredaliasorlanguage)
* [`AutoOptions`](#autooptions)
* [`LanguageFn`](#languagefn)
* [`Options`](#options)
* [Examples](#examples)
* [Example: serializing hast as html](#example-serializing-hast-as-html)
* [Example: turning hast into preact, react, etc](#example-turning-hast-into-preact-react-etc)
* [Types](#types)
* [Data](#data)
* [CSS](#css)
* [Compatibility](#compatibility)
* [Security](#security)
* [Related](#related)
* [Projects](#projects)
* [Contribute](#contribute)
* [License](#license)

@@ -140,4 +140,4 @@ ## What is this?

* `grammars` ([`Record<string, LanguageFn>`][api-language-fn], optional)
β€” grammars to add
* `grammars` ([`Record<string, LanguageFn>`][api-language-fn], optional)
β€” grammars to add

@@ -154,8 +154,8 @@ ###### Returns

* `language` (`string`)
β€” programming language [name][names]
* `value` (`string`)
β€” code to highlight
* `options` ([`Options`][api-options], optional)
β€” configuration
* `language` (`string`)
β€” programming language [name][names]
* `value` (`string`)
β€” code to highlight
* `options` ([`Options`][api-options], optional)
β€” configuration

@@ -190,6 +190,6 @@ ###### Returns

* `value` (`string`)
β€” code to highlight
* `options` ([`AutoOptions`][api-auto-options], optional)
β€” configuration
* `value` (`string`)
β€” code to highlight
* `options` ([`AutoOptions`][api-auto-options], optional)
β€” configuration

@@ -247,13 +247,13 @@ ###### Returns

* `register(name, grammar)`
* `register(grammars)`
* `register(name, grammar)`
* `register(grammars)`
###### Parameters
* `name` (`string`)
β€” programming language [name][names]
* `grammar` ([`LanguageFn`][api-language-fn])
β€” grammar
* `grammars` ([`Record<string, LanguageFn>`][api-language-fn], optional)
β€” grammars
* `name` (`string`)
β€” programming language [name][names]
* `grammar` ([`LanguageFn`][api-language-fn])
β€” grammar
* `grammars` ([`Record<string, LanguageFn>`][api-language-fn], optional)
β€” grammars

@@ -290,13 +290,13 @@ ###### Returns

* `registerAlias(aliases)`
* `registerAlias(name, alias)`
* `registerAlias(aliases)`
* `registerAlias(name, alias)`
###### Parameters
* `aliases` (`Record<string, Array<string> | string>`)
β€” map of programming language [names][] to one or more aliases
* `name` (`string`)
β€” programming language [name][names]
* `alias` (`Array<string> | string`)
β€” one or more aliases for the programming language
* `aliases` (`Record<string, Array<string> | string>`)
β€” map of programming language [names][] to one or more aliases
* `name` (`string`)
β€” programming language [name][names]
* `alias` (`Array<string> | string`)
β€” one or more aliases for the programming language

@@ -331,4 +331,4 @@ ###### Returns

* `aliasOrlanguage` (`string`)
β€” [name][names] of a language or alias for one
* `aliasOrlanguage` (`string`)
β€” [name][names] of a language or alias for one

@@ -359,6 +359,6 @@ ###### Returns

* `prefix` (`string`, default: `'hljs-'`)
β€” class prefix
* `subset` (`Array<string>`, default: all registered languages)
β€” list of allowed languages
* `prefix` (`string`, default: `'hljs-'`)
β€” class prefix
* `subset` (`Array<string>`, default: all registered languages)
β€” list of allowed languages

@@ -381,4 +381,4 @@ ### `LanguageFn`

* `prefix` (`string`, default: `'hljs-'`)
β€” class prefix
* `prefix` (`string`, default: `'hljs-'`)
β€” class prefix

@@ -456,5 +456,4 @@ ## Examples

/**
* @typedef {import('hast').Root} Root
*
* @typedef {import('lowlight')}
* @import {Root} from 'hast'
* @import {} from 'lowlight'
*/

@@ -487,194 +486,194 @@

* [ ] `1c` β€” 1C:Enterprise
* [ ] `abnf` β€” Augmented Backus-Naur Form
* [ ] `accesslog` β€” Apache Access Log
* [ ] `actionscript` (`as`) β€” ActionScript
* [ ] `ada` β€” Ada
* [ ] `angelscript` (`asc`) β€” AngelScript
* [ ] `apache` (`apacheconf`) β€” Apache config
* [ ] `applescript` (`osascript`) β€” AppleScript
* [ ] `arcade` β€” ArcGIS Arcade
* [x] `arduino` (`ino`) β€” Arduino
* [ ] `armasm` (`arm`) β€” ARM Assembly
* [ ] `asciidoc` (`adoc`) β€” AsciiDoc
* [ ] `aspectj` β€” AspectJ
* [ ] `autohotkey` (`ahk`) β€” AutoHotkey
* [ ] `autoit` β€” AutoIt
* [ ] `avrasm` β€” AVR Assembly
* [ ] `awk` β€” Awk
* [ ] `axapta` (`x++`) β€” X++
* [x] `bash` (`sh`) β€” Bash
* [ ] `basic` β€” BASIC
* [ ] `bnf` β€” Backus–Naur Form
* [ ] `brainfuck` (`bf`) β€” Brainfuck
* [x] `c` (`h`) β€” C
* [ ] `cal` β€” C/AL
* [ ] `capnproto` (`capnp`) β€” Cap’n Proto
* [ ] `ceylon` β€” Ceylon
* [ ] `clean` (`icl`, `dcl`) β€” Clean
* [ ] `clojure` (`clj`, `edn`) β€” Clojure
* [ ] `clojure-repl` β€” Clojure REPL
* [ ] `cmake` (`cmake.in`) β€” CMake
* [ ] `coffeescript` (`coffee`, `cson`, `iced`) β€” CoffeeScript
* [ ] `coq` β€” Coq
* [ ] `cos` (`cls`) β€” CachΓ© Object Script
* [x] `cpp` (`cc`, `c++`, `h++`, `hpp`, `hh`, `hxx`, `cxx`) β€” C++
* [ ] `crmsh` (`crm`, `pcmk`) β€” crmsh
* [ ] `crystal` (`cr`) β€” Crystal
* [x] `csharp` (`cs`, `c#`) β€” C#
* [ ] `csp` β€” CSP
* [x] `css` β€” CSS
* [ ] `d` β€” D
* [ ] `dart` β€” Dart
* [ ] `delphi` (`dpr`, `dfm`, `pas`, `pascal`) β€” Delphi
* [x] `diff` (`patch`) β€” Diff
* [ ] `django` (`jinja`) β€” Django
* [ ] `dns` (`bind`, `zone`) β€” DNS Zone
* [ ] `dockerfile` (`docker`) β€” Dockerfile
* [ ] `dos` (`bat`, `cmd`) β€” Batch file (DOS)
* [ ] `dsconfig` β€” undefined
* [ ] `dts` β€” Device Tree
* [ ] `dust` (`dst`) β€” Dust
* [ ] `ebnf` β€” Extended Backus-Naur Form
* [ ] `elixir` (`ex`, `exs`) β€” Elixir
* [ ] `elm` β€” Elm
* [ ] `erb` β€” ERB
* [ ] `erlang` (`erl`) β€” Erlang
* [ ] `erlang-repl` β€” Erlang REPL
* [ ] `excel` (`xlsx`, `xls`) β€” Excel formulae
* [ ] `fix` β€” FIX
* [ ] `flix` β€” Flix
* [ ] `fortran` (`f90`, `f95`) β€” Fortran
* [ ] `fsharp` (`fs`, `f#`) β€” F#
* [ ] `gams` (`gms`) β€” GAMS
* [ ] `gauss` (`gss`) β€” GAUSS
* [ ] `gcode` (`nc`) β€” G-code (ISO 6983)
* [ ] `gherkin` (`feature`) β€” Gherkin
* [ ] `glsl` β€” GLSL
* [ ] `gml` β€” GML
* [x] `go` (`golang`) β€” Go
* [ ] `golo` β€” Golo
* [ ] `gradle` β€” Gradle
* [x] `graphql` (`gql`) β€” GraphQL
* [ ] `groovy` β€” Groovy
* [ ] `haml` β€” HAML
* [ ] `handlebars` (`hbs`, `html.hbs`, `html.handlebars`, `htmlbars`) β€” Handlebars
* [ ] `haskell` (`hs`) β€” Haskell
* [ ] `haxe` (`hx`) β€” Haxe
* [ ] `hsp` β€” HSP
* [ ] `http` (`https`) β€” HTTP
* [ ] `hy` (`hylang`) β€” Hy
* [ ] `inform7` (`i7`) β€” Inform 7
* [x] `ini` (`toml`) β€” TOML, also INI
* [ ] `irpf90` β€” IRPF90
* [ ] `isbl` β€” ISBL
* [x] `java` (`jsp`) β€” Java
* [x] `javascript` (`js`, `jsx`, `mjs`, `cjs`) β€” JavaScript
* [ ] `jboss-cli` (`wildfly-cli`) β€” JBoss CLI
* [x] `json` β€” JSON
* [ ] `julia` β€” Julia
* [ ] `julia-repl` (`jldoctest`) β€” Julia REPL
* [x] `kotlin` (`kt`, `kts`) β€” Kotlin
* [ ] `lasso` (`ls`, `lassoscript`) β€” Lasso
* [ ] `latex` (`tex`) β€” LaTeX
* [ ] `ldif` β€” LDIF
* [ ] `leaf` β€” Leaf
* [x] `less` β€” Less
* [ ] `lisp` β€” Lisp
* [ ] `livecodeserver` β€” LiveCode
* [ ] `livescript` (`ls`) β€” LiveScript
* [ ] `llvm` β€” LLVM IR
* [ ] `lsl` β€” LSL (Linden Scripting Language)
* [x] `lua` β€” Lua
* [x] `makefile` (`mk`, `mak`, `make`) β€” Makefile
* [x] `markdown` (`md`, `mkdown`, `mkd`) β€” Markdown
* [ ] `mathematica` (`mma`, `wl`) β€” Mathematica
* [ ] `matlab` β€” Matlab
* [ ] `maxima` β€” Maxima
* [ ] `mel` β€” MEL
* [ ] `mercury` (`m`, `moo`) β€” Mercury
* [ ] `mipsasm` (`mips`) β€” MIPS Assembly
* [ ] `mizar` β€” Mizar
* [ ] `mojolicious` β€” Mojolicious
* [ ] `monkey` β€” Monkey
* [ ] `moonscript` (`moon`) β€” MoonScript
* [ ] `n1ql` β€” N1QL
* [ ] `nestedtext` (`nt`) β€” Nested Text
* [ ] `nginx` (`nginxconf`) β€” Nginx config
* [ ] `nim` β€” Nim
* [ ] `nix` (`nixos`) β€” Nix
* [ ] `node-repl` β€” Node REPL
* [ ] `nsis` β€” NSIS
* [x] `objectivec` (`mm`, `objc`, `obj-c`, `obj-c++`, `objective-c++`) β€” Objective-C
* [ ] `ocaml` (`ml`) β€” OCaml
* [ ] `openscad` (`scad`) β€” OpenSCAD
* [ ] `oxygene` β€” Oxygene
* [ ] `parser3` β€” Parser3
* [x] `perl` (`pl`, `pm`) β€” Perl
* [ ] `pf` (`pf.conf`) β€” Packet Filter config
* [ ] `pgsql` (`postgres`, `postgresql`) β€” PostgreSQL
* [x] `php` β€” undefined
* [x] `php-template` β€” PHP template
* [x] `plaintext` (`text`, `txt`) β€” Plain text
* [ ] `pony` β€” Pony
* [ ] `powershell` (`pwsh`, `ps`, `ps1`) β€” PowerShell
* [ ] `processing` (`pde`) β€” Processing
* [ ] `profile` β€” Python profiler
* [ ] `prolog` β€” Prolog
* [ ] `properties` β€” .properties
* [ ] `protobuf` (`proto`) β€” Protocol Buffers
* [ ] `puppet` (`pp`) β€” Puppet
* [ ] `purebasic` (`pb`, `pbi`) β€” PureBASIC
* [x] `python` (`py`, `gyp`, `ipython`) β€” Python
* [x] `python-repl` (`pycon`) β€” undefined
* [ ] `q` (`k`, `kdb`) β€” Q
* [ ] `qml` (`qt`) β€” QML
* [x] `r` β€” R
* [ ] `reasonml` (`re`) β€” ReasonML
* [ ] `rib` β€” RenderMan RIB
* [ ] `roboconf` (`graph`, `instances`) β€” Roboconf
* [ ] `routeros` (`mikrotik`) β€” MikroTik RouterOS script
* [ ] `rsl` β€” RenderMan RSL
* [x] `ruby` (`rb`, `gemspec`, `podspec`, `thor`, `irb`) β€” Ruby
* [ ] `ruleslanguage` β€” Oracle Rules Language
* [x] `rust` (`rs`) β€” Rust
* [ ] `sas` β€” SAS
* [ ] `scala` β€” Scala
* [ ] `scheme` (`scm`) β€” Scheme
* [ ] `scilab` (`sci`) β€” Scilab
* [x] `scss` β€” SCSS
* [x] `shell` (`console`, `shellsession`) β€” Shell Session
* [ ] `smali` β€” Smali
* [ ] `smalltalk` (`st`) β€” Smalltalk
* [ ] `sml` (`ml`) β€” SML (Standard ML)
* [ ] `sqf` β€” SQF
* [x] `sql` β€” SQL
* [ ] `stan` (`stanfuncs`) β€” Stan
* [ ] `stata` (`do`, `ado`) β€” Stata
* [ ] `step21` (`p21`, `step`, `stp`) β€” STEP Part 21
* [ ] `stylus` (`styl`) β€” Stylus
* [ ] `subunit` β€” SubUnit
* [x] `swift` β€” Swift
* [ ] `taggerscript` β€” Tagger Script
* [ ] `tap` β€” Test Anything Protocol
* [ ] `tcl` (`tk`) β€” Tcl
* [ ] `thrift` β€” Thrift
* [ ] `tp` β€” TP
* [ ] `twig` (`craftcms`) β€” Twig
* [x] `typescript` (`ts`, `tsx`, `mts`, `cts`) β€” TypeScript
* [ ] `vala` β€” Vala
* [x] `vbnet` (`vb`) β€” Visual Basic .NET
* [ ] `vbscript` (`vbs`) β€” VBScript
* [ ] `vbscript-html` β€” VBScript in HTML
* [ ] `verilog` (`v`, `sv`, `svh`) β€” Verilog
* [ ] `vhdl` β€” VHDL
* [ ] `vim` β€” Vim Script
* [x] `wasm` β€” WebAssembly
* [ ] `wren` β€” Wren
* [ ] `x86asm` β€” Intel x86 Assembly
* [ ] `xl` (`tao`) β€” XL
* [x] `xml` (`html`, `xhtml`, `rss`, `atom`, `xjb`, `xsd`, `xsl`, `plist`, `wsf`, `svg`) β€” HTML, XML
* [ ] `xquery` (`xpath`, `xq`, `xqm`) β€” XQuery
* [x] `yaml` (`yml`) β€” YAML
* [ ] `zephir` (`zep`) β€” Zephir
* [ ] `1c` β€” 1C:Enterprise
* [ ] `abnf` β€” Augmented Backus-Naur Form
* [ ] `accesslog` β€” Apache Access Log
* [ ] `actionscript` (`as`) β€” ActionScript
* [ ] `ada` β€” Ada
* [ ] `angelscript` (`asc`) β€” AngelScript
* [ ] `apache` (`apacheconf`) β€” Apache config
* [ ] `applescript` (`osascript`) β€” AppleScript
* [ ] `arcade` β€” ArcGIS Arcade
* [x] `arduino` (`ino`) β€” Arduino
* [ ] `armasm` (`arm`) β€” ARM Assembly
* [ ] `asciidoc` (`adoc`) β€” AsciiDoc
* [ ] `aspectj` β€” AspectJ
* [ ] `autohotkey` (`ahk`) β€” AutoHotkey
* [ ] `autoit` β€” AutoIt
* [ ] `avrasm` β€” AVR Assembly
* [ ] `awk` β€” Awk
* [ ] `axapta` (`x++`) β€” X++
* [x] `bash` (`sh`, `zsh`) β€” Bash
* [ ] `basic` β€” BASIC
* [ ] `bnf` β€” Backus–Naur Form
* [ ] `brainfuck` (`bf`) β€” Brainfuck
* [x] `c` (`h`) β€” C
* [ ] `cal` β€” C/AL
* [ ] `capnproto` (`capnp`) β€” Cap’n Proto
* [ ] `ceylon` β€” Ceylon
* [ ] `clean` (`icl`, `dcl`) β€” Clean
* [ ] `clojure` (`clj`, `edn`) β€” Clojure
* [ ] `clojure-repl` β€” Clojure REPL
* [ ] `cmake` (`cmake.in`) β€” CMake
* [ ] `coffeescript` (`coffee`, `cson`, `iced`) β€” CoffeeScript
* [ ] `coq` β€” Coq
* [ ] `cos` (`cls`) β€” CachΓ© Object Script
* [x] `cpp` (`cc`, `c++`, `h++`, `hpp`, `hh`, `hxx`, `cxx`) β€” C++
* [ ] `crmsh` (`crm`, `pcmk`) β€” crmsh
* [ ] `crystal` (`cr`) β€” Crystal
* [x] `csharp` (`cs`, `c#`) β€” C#
* [ ] `csp` β€” CSP
* [x] `css` β€” CSS
* [ ] `d` β€” D
* [ ] `dart` β€” Dart
* [ ] `delphi` (`dpr`, `dfm`, `pas`, `pascal`) β€” Delphi
* [x] `diff` (`patch`) β€” Diff
* [ ] `django` (`jinja`) β€” Django
* [ ] `dns` (`bind`, `zone`) β€” DNS Zone
* [ ] `dockerfile` (`docker`) β€” Dockerfile
* [ ] `dos` (`bat`, `cmd`) β€” Batch file (DOS)
* [ ] `dsconfig` β€” undefined
* [ ] `dts` β€” Device Tree
* [ ] `dust` (`dst`) β€” Dust
* [ ] `ebnf` β€” Extended Backus-Naur Form
* [ ] `elixir` (`ex`, `exs`) β€” Elixir
* [ ] `elm` β€” Elm
* [ ] `erb` β€” ERB
* [ ] `erlang` (`erl`) β€” Erlang
* [ ] `erlang-repl` β€” Erlang REPL
* [ ] `excel` (`xlsx`, `xls`) β€” Excel formulae
* [ ] `fix` β€” FIX
* [ ] `flix` β€” Flix
* [ ] `fortran` (`f90`, `f95`) β€” Fortran
* [ ] `fsharp` (`fs`, `f#`) β€” F#
* [ ] `gams` (`gms`) β€” GAMS
* [ ] `gauss` (`gss`) β€” GAUSS
* [ ] `gcode` (`nc`) β€” G-code (ISO 6983)
* [ ] `gherkin` (`feature`) β€” Gherkin
* [ ] `glsl` β€” GLSL
* [ ] `gml` β€” GML
* [x] `go` (`golang`) β€” Go
* [ ] `golo` β€” Golo
* [ ] `gradle` β€” Gradle
* [x] `graphql` (`gql`) β€” GraphQL
* [ ] `groovy` β€” Groovy
* [ ] `haml` β€” HAML
* [ ] `handlebars` (`hbs`, `html.hbs`, `html.handlebars`, `htmlbars`) β€” Handlebars
* [ ] `haskell` (`hs`) β€” Haskell
* [ ] `haxe` (`hx`) β€” Haxe
* [ ] `hsp` β€” HSP
* [ ] `http` (`https`) β€” HTTP
* [ ] `hy` (`hylang`) β€” Hy
* [ ] `inform7` (`i7`) β€” Inform 7
* [x] `ini` (`toml`) β€” TOML, also INI
* [ ] `irpf90` β€” IRPF90
* [ ] `isbl` β€” ISBL
* [x] `java` (`jsp`) β€” Java
* [x] `javascript` (`js`, `jsx`, `mjs`, `cjs`) β€” JavaScript
* [ ] `jboss-cli` (`wildfly-cli`) β€” JBoss CLI
* [x] `json` (`jsonc`) β€” JSON
* [ ] `julia` β€” Julia
* [ ] `julia-repl` (`jldoctest`) β€” Julia REPL
* [x] `kotlin` (`kt`, `kts`) β€” Kotlin
* [ ] `lasso` (`ls`, `lassoscript`) β€” Lasso
* [ ] `latex` (`tex`) β€” LaTeX
* [ ] `ldif` β€” LDIF
* [ ] `leaf` β€” Leaf
* [x] `less` β€” Less
* [ ] `lisp` β€” Lisp
* [ ] `livecodeserver` β€” LiveCode
* [ ] `livescript` (`ls`) β€” LiveScript
* [ ] `llvm` β€” LLVM IR
* [ ] `lsl` β€” LSL (Linden Scripting Language)
* [x] `lua` β€” Lua
* [x] `makefile` (`mk`, `mak`, `make`) β€” Makefile
* [x] `markdown` (`md`, `mkdown`, `mkd`) β€” Markdown
* [ ] `mathematica` (`mma`, `wl`) β€” Mathematica
* [ ] `matlab` β€” Matlab
* [ ] `maxima` β€” Maxima
* [ ] `mel` β€” MEL
* [ ] `mercury` (`m`, `moo`) β€” Mercury
* [ ] `mipsasm` (`mips`) β€” MIPS Assembly
* [ ] `mizar` β€” Mizar
* [ ] `mojolicious` β€” Mojolicious
* [ ] `monkey` β€” Monkey
* [ ] `moonscript` (`moon`) β€” MoonScript
* [ ] `n1ql` β€” N1QL
* [ ] `nestedtext` (`nt`) β€” Nested Text
* [ ] `nginx` (`nginxconf`) β€” Nginx config
* [ ] `nim` β€” Nim
* [ ] `nix` (`nixos`) β€” Nix
* [ ] `node-repl` β€” Node REPL
* [ ] `nsis` β€” NSIS
* [x] `objectivec` (`mm`, `objc`, `obj-c`, `obj-c++`, `objective-c++`) β€” Objective-C
* [ ] `ocaml` (`ml`) β€” OCaml
* [ ] `openscad` (`scad`) β€” OpenSCAD
* [ ] `oxygene` β€” Oxygene
* [ ] `parser3` β€” Parser3
* [x] `perl` (`pl`, `pm`) β€” Perl
* [ ] `pf` (`pf.conf`) β€” Packet Filter config
* [ ] `pgsql` (`postgres`, `postgresql`) β€” PostgreSQL
* [x] `php` β€” undefined
* [x] `php-template` β€” PHP template
* [x] `plaintext` (`text`, `txt`) β€” Plain text
* [ ] `pony` β€” Pony
* [ ] `powershell` (`pwsh`, `ps`, `ps1`) β€” PowerShell
* [ ] `processing` (`pde`) β€” Processing
* [ ] `profile` β€” Python profiler
* [ ] `prolog` β€” Prolog
* [ ] `properties` β€” .properties
* [ ] `protobuf` (`proto`) β€” Protocol Buffers
* [ ] `puppet` (`pp`) β€” Puppet
* [ ] `purebasic` (`pb`, `pbi`) β€” PureBASIC
* [x] `python` (`py`, `gyp`, `ipython`) β€” Python
* [x] `python-repl` (`pycon`) β€” undefined
* [ ] `q` (`k`, `kdb`) β€” Q
* [ ] `qml` (`qt`) β€” QML
* [x] `r` β€” R
* [ ] `reasonml` (`re`) β€” ReasonML
* [ ] `rib` β€” RenderMan RIB
* [ ] `roboconf` (`graph`, `instances`) β€” Roboconf
* [ ] `routeros` (`mikrotik`) β€” MikroTik RouterOS script
* [ ] `rsl` β€” RenderMan RSL
* [x] `ruby` (`rb`, `gemspec`, `podspec`, `thor`, `irb`) β€” Ruby
* [ ] `ruleslanguage` β€” Oracle Rules Language
* [x] `rust` (`rs`) β€” Rust
* [ ] `sas` β€” SAS
* [ ] `scala` β€” Scala
* [ ] `scheme` (`scm`) β€” Scheme
* [ ] `scilab` (`sci`) β€” Scilab
* [x] `scss` β€” SCSS
* [x] `shell` (`console`, `shellsession`) β€” Shell Session
* [ ] `smali` β€” Smali
* [ ] `smalltalk` (`st`) β€” Smalltalk
* [ ] `sml` (`ml`) β€” SML (Standard ML)
* [ ] `sqf` β€” SQF
* [x] `sql` β€” SQL
* [ ] `stan` (`stanfuncs`) β€” Stan
* [ ] `stata` (`do`, `ado`) β€” Stata
* [ ] `step21` (`p21`, `step`, `stp`) β€” STEP Part 21
* [ ] `stylus` (`styl`) β€” Stylus
* [ ] `subunit` β€” SubUnit
* [x] `swift` β€” Swift
* [ ] `taggerscript` β€” Tagger Script
* [ ] `tap` β€” Test Anything Protocol
* [ ] `tcl` (`tk`) β€” Tcl
* [ ] `thrift` β€” Thrift
* [ ] `tp` β€” TP
* [ ] `twig` (`craftcms`) β€” Twig
* [x] `typescript` (`ts`, `tsx`, `mts`, `cts`) β€” TypeScript
* [ ] `vala` β€” Vala
* [x] `vbnet` (`vb`) β€” Visual Basic .NET
* [ ] `vbscript` (`vbs`) β€” VBScript
* [ ] `vbscript-html` β€” VBScript in HTML
* [ ] `verilog` (`v`, `sv`, `svh`) β€” Verilog
* [ ] `vhdl` β€” VHDL
* [ ] `vim` β€” Vim Script
* [x] `wasm` β€” WebAssembly
* [ ] `wren` β€” Wren
* [ ] `x86asm` β€” Intel x86 Assembly
* [ ] `xl` (`tao`) β€” XL
* [x] `xml` (`html`, `xhtml`, `rss`, `atom`, `xjb`, `xsd`, `xsl`, `plist`, `wsf`, `svg`) β€” HTML, XML
* [ ] `xquery` (`xpath`, `xq`, `xqm`) β€” XQuery
* [x] `yaml` (`yml`) β€” YAML
* [ ] `zephir` (`zep`) β€” Zephir

@@ -691,3 +690,3 @@ <!--support end-->

```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github-dark.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/styles/github-dark.min.css">
```

@@ -710,21 +709,21 @@

* [`refractor`][refractor]
β€” the same as lowlight but with [Prism][]
* [`starry-night`][starry-night]
β€” similar but like GitHub and really good
* [`refractor`][refractor]
β€” the same as lowlight but with [Prism][]
* [`starry-night`][starry-night]
β€” similar but like GitHub and really good
## Projects
* [`emphasize`](https://github.com/wooorm/emphasize)
β€” syntax highlighting in ANSI (for the terminal)
* [`react-lowlight`](https://github.com/rexxars/react-lowlight)
β€” syntax highlighter for [React][]
* [`react-syntax-highlighter`](https://github.com/conorhastings/react-syntax-highlighter)
β€” [React][] component for syntax highlighting
* [`rehype-highlight`](https://github.com/rehypejs/rehype-highlight)
β€” [**rehype**](https://github.com/rehypejs/rehype) plugin to highlight code
blocks
* [`jstransformer-lowlight`](https://github.com/ai/jstransformer-lowlight)
β€” syntax highlighting for [JSTransformers](https://github.com/jstransformers)
and [Pug](https://pugjs.org/language/filters.html)
* [`emphasize`](https://github.com/wooorm/emphasize)
β€” syntax highlighting in ANSI (for the terminal)
* [`react-lowlight`](https://github.com/rexxars/react-lowlight)
β€” syntax highlighter for [React][]
* [`react-syntax-highlighter`](https://github.com/conorhastings/react-syntax-highlighter)
β€” [React][] component for syntax highlighting
* [`rehype-highlight`](https://github.com/rehypejs/rehype-highlight)
β€” [**rehype**](https://github.com/rehypejs/rehype) plugin to highlight code
blocks
* [`jstransformer-lowlight`](https://github.com/ai/jstransformer-lowlight)
β€” syntax highlighting for [JSTransformers](https://github.com/jstransformers)
and [Pug](https://pugjs.org/language/filters.html)

@@ -731,0 +730,0 @@ ## Contribute

Sorry, the diff of this file is not supported yet