repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/sqf.js | src/languages/sqf.js | /*
Language: SQF
Author: Søren Enevoldsen <senevoldsen90@gmail.com>
Contributors: Marvin Saignat <contact@zgmrvn.com>, Dedmen Miller <dedmen@dedmen.de>, Leopard20
Description: Scripting language for the Arma game series
Website: https://community.bistudio.com/wiki/SQF_syntax
Category: scripting
Last update: 07.01.2023,... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | true |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/arcade.js | src/languages/arcade.js | /*
Language: ArcGIS Arcade
Category: scripting
Website: https://developers.arcgis.com/arcade/
Description: ArcGIS Arcade is an expression language used in many Esri ArcGIS products such as Pro, Online, Server, Runtime, JavaScript, and Python
*/
/** @type LanguageFn */
export default function(hljs) {
const regex ... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/fsharp.js | src/languages/fsharp.js | /*
Language: F#
Author: Jonas Follesø <jonas@follesoe.no>
Contributors: Troy Kershaw <hello@troykershaw.com>, Henrik Feldt <henrik@haf.se>, Melvyn Laïly <melvyn.laily@gmail.com>
Website: https://docs.microsoft.com/en-us/dotnet/fsharp/
Category: functional
*/
import * as regex from '../lib/regex.js';
/** @type Languag... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/stylus.js | src/languages/stylus.js | /*
Language: Stylus
Author: Bryant Williams <b.n.williams@gmail.com>
Description: Stylus is an expressive, robust, feature-rich CSS language built for nodejs.
Website: https://github.com/stylus/stylus
Category: css, web
*/
import * as css from "./lib/css-shared.js";
/** @type LanguageFn */
export default function(hlj... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/angelscript.js | src/languages/angelscript.js | /*
Language: AngelScript
Author: Melissa Geels <melissa@nimble.tools>
Category: scripting
Website: https://www.angelcode.com/angelscript/
*/
/** @type LanguageFn */
export default function(hljs) {
const builtInTypeMode = {
className: 'built_in',
begin: '\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|u... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/dts.js | src/languages/dts.js | /*
Language: Device Tree
Description: *.dts files used in the Linux kernel
Author: Martin Braun <martin.braun@ettus.com>, Moritz Fischer <moritz.fischer@ettus.com>
Website: https://elinux.org/Device_Tree_Reference
Category: config
*/
/** @type LanguageFn */
export default function(hljs) {
const STRINGS = {
class... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/latex.js | src/languages/latex.js | /*
Language: LaTeX
Author: Benedikt Wilde <bwilde@posteo.de>
Website: https://www.latex-project.org
Category: markup
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const KNOWN_CONTROL_WORDS = regex.either(...[
'(?:NeedsTeXFormat|RequirePackage|GetIdInfo)',
'Provides(?:... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/monkey.js | src/languages/monkey.js | /*
Language: Monkey
Description: Monkey2 is an easy to use, cross platform, games oriented programming language from Blitz Research.
Author: Arthur Bikmullin <devolonter@gmail.com>
Website: https://blitzresearch.itch.io/monkey2
Category: gaming
*/
export default function(hljs) {
const NUMBER = {
className: 'numb... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/perl.js | src/languages/perl.js | /*
Language: Perl
Author: Peter Leonov <gojpeg@yandex.ru>
Website: https://www.perl.org
Category: common
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const KEYWORDS = [
'abs',
'accept',
'alarm',
'and',
'atan2',
'bind',
'binmode',
'bless',
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/wasm.js | src/languages/wasm.js | /*
Language: WebAssembly
Website: https://webassembly.org
Description: Wasm is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications.
Category: web, common
Audit: 2020
*/
/** @type LanguageFn */
export default function(hljs) {
const re... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/basic.js | src/languages/basic.js | /*
Language: BASIC
Author: Raphaël Assénat <raph@raphnet.net>
Description: Based on the BASIC reference from the Tandy 1000 guide
Website: https://en.wikipedia.org/wiki/Tandy_1000
Category: system
*/
/** @type LanguageFn */
export default function(hljs) {
const KEYWORDS = [
"ABS",
"ASC",
"AND",
"ATN"... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/asciidoc.js | src/languages/asciidoc.js | /*
Language: AsciiDoc
Requires: xml.js
Author: Dan Allen <dan.j.allen@gmail.com>
Website: http://asciidoc.org
Description: A semantic, text-based document format that can be exported to HTML, DocBook and other backends.
Category: markup
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.re... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/flix.js | src/languages/flix.js | /*
Language: Flix
Category: functional
Author: Magnus Madsen <mmadsen@uwaterloo.ca>
Website: https://flix.dev/
*/
/** @type LanguageFn */
export default function(hljs) {
const CHAR = {
className: 'string',
begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/
};
const STRING = {
className: 'string',
variants... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/gcode.js | src/languages/gcode.js | /*
Language: G-code (ISO 6983)
Contributors: Adam Joseph Cook <adam.joseph.cook@gmail.com>
Description: G-code syntax highlighter for Fanuc and other common CNC machine tool controls.
Website: https://www.sis.se/api/document/preview/911952/
Category: hardware
*/
export default function(hljs) {
const regex = hl... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/avrasm.js | src/languages/avrasm.js | /*
Language: AVR Assembly
Author: Vladimir Ermakov <vooon341@gmail.com>
Category: assembler
Website: https://www.microchip.com/webdoc/avrassembler/avrassembler.wb_instruction_list.html
*/
/** @type LanguageFn */
export default function(hljs) {
return {
name: 'AVR Assembly',
case_insensitive: true,
keywor... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/inform7.js | src/languages/inform7.js | /*
Language: Inform 7
Author: Bruno Dias <bruno.r.dias@gmail.com>
Description: Language definition for Inform 7, a DSL for writing parser interactive fiction.
Website: http://inform7.com
Category: gaming
*/
export default function(hljs) {
const START_BRACKET = '\\[';
const END_BRACKET = '\\]';
return {
name:... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/glsl.js | src/languages/glsl.js | /*
Language: GLSL
Description: OpenGL Shading Language
Author: Sergey Tikhomirov <sergey@tikhomirov.io>
Website: https://en.wikipedia.org/wiki/OpenGL_Shading_Language
Category: graphics
*/
export default function(hljs) {
return {
name: 'GLSL',
keywords: {
keyword:
// Statements
'break c... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/graphql.js | src/languages/graphql.js | /*
Language: GraphQL
Author: John Foster (GH jf990), and others
Description: GraphQL is a query language for APIs
Category: web, common
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const GQL_NAME = /[_A-Za-z][_0-9A-Za-z]*/;
return {
name: "GraphQL",
aliases: [ ... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/xml.js | src/languages/xml.js | /*
Language: HTML, XML
Website: https://www.w3.org/XML/
Category: common, web
Audit: 2020
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
// XML names can have the following additional letters: https://www.w3.org/TR/xml/#NT-NameChar
// OTHER_NAME_CHARS = /[:\-.0-9\u00B7\u0300... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/r.js | src/languages/r.js | /*
Language: R
Description: R is a free software environment for statistical computing and graphics.
Author: Joe Cheng <joe@rstudio.org>
Contributors: Konrad Rudolph <konrad.rudolph@gmail.com>
Website: https://www.r-project.org
Category: common,scientific
*/
/** @type LanguageFn */
export default function(hljs) {
co... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/vbscript.js | src/languages/vbscript.js | /*
Language: VBScript
Description: VBScript ("Microsoft Visual Basic Scripting Edition") is an Active Scripting language developed by Microsoft that is modeled on Visual Basic.
Author: Nikita Ledyaev <lenikita@yandex.ru>
Contributors: Michal Gabrukiewicz <mgabru@gmail.com>
Website: https://en.wikipedia.org/wiki/VBScrip... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/gml.js | src/languages/gml.js | /*
Language: GML
Description: Game Maker Language for GameMaker (rev. 2023.1)
Website: https://manual.yoyogames.com/
Category: scripting
*/
export default function(hljs) {
const KEYWORDS = [
"#endregion",
"#macro",
"#region",
"and",
"begin",
"break",
"case",
"constructor",
"contin... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | true |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/swift.js | src/languages/swift.js | /*
Language: Swift
Description: Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.
Author: Steven Van Impe <steven.vanimpe@icloud.com>
Contributors: Chris Eidhof <chris@eidhof.nl>, Nate Cook <natecook@gmail.com>, Alexander Lichter <manniL@... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/csharp.js | src/languages/csharp.js | /*
Language: C#
Author: Jason Diamond <jason@diamond.name>
Contributor: Nicolas LLOBERA <nllobera@gmail.com>, Pieter Vantorre <pietervantorre@gmail.com>, David Pine <david.pine@microsoft.com>
Website: https://docs.microsoft.com/dotnet/csharp/
Category: common
*/
/** @type LanguageFn */
export default function(hljs) {
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/haxe.js | src/languages/haxe.js | /*
Language: Haxe
Description: Haxe is an open source toolkit based on a modern, high level, strictly typed programming language.
Author: Christopher Kaster <ikasoki@gmail.com> (Based on the actionscript.js language file by Alexander Myadzel)
Contributors: Kenton Hamaluik <kentonh@gmail.com>
Website: https://haxe.org
C... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/excel.js | src/languages/excel.js | /*
Language: Excel formulae
Author: Victor Zhou <OiCMudkips@users.noreply.github.com>
Description: Excel formulae
Website: https://products.office.com/en-us/excel/
Category: enterprise
*/
/** @type LanguageFn */
export default function(hljs) {
// built-in functions imported from https://web.archive.org/web/202412051... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/nestedtext.js | src/languages/nestedtext.js | /*
Language: NestedText
Description: NestedText is a file format for holding data that is to be entered, edited, or viewed by people.
Website: https://nestedtext.org/
Category: config
*/
/** @type LanguageFn */
export default function(hljs) {
const NESTED = {
match: [
/^\s*(?=\S)/, // have to look forward ... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/powershell.js | src/languages/powershell.js | /*
Language: PowerShell
Description: PowerShell is a task-based command-line shell and scripting language built on .NET.
Author: David Mohundro <david@mohundro.com>
Contributors: Nicholas Blumhardt <nblumhardt@nblumhardt.com>, Victor Zhou <OiCMudkips@users.noreply.github.com>, Nicolas Le Gall <contact@nlegall.fr>
Websi... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/vala.js | src/languages/vala.js | /*
Language: Vala
Author: Antono Vasiljev <antono.vasiljev@gmail.com>
Description: Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries ... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/1c.js | src/languages/1c.js | /*
Language: 1C:Enterprise
Author: Stanislav Belov <stbelov@gmail.com>
Description: built-in language 1C:Enterprise (v7, v8)
Category: enterprise
*/
export default function(hljs) {
// общий паттерн для определения идентификаторов
const UNDERSCORE_IDENT_RE = '[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+';
// v7 уникал... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | true |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/dust.js | src/languages/dust.js | /*
Language: Dust
Requires: xml.js
Author: Michael Allen <michael.allen@benefitfocus.com>
Description: Matcher for dust.js templates.
Website: https://www.dustjs.com
Category: template
*/
/** @type LanguageFn */
export default function(hljs) {
const EXPRESSION_KEYWORDS = 'if eq ne lt lte gt gte select default math s... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/markdown.js | src/languages/markdown.js | /*
Language: Markdown
Requires: xml.js
Author: John Crepezzi <john.crepezzi@gmail.com>
Website: https://daringfireball.net/projects/markdown/
Category: common, markup
*/
export default function(hljs) {
const regex = hljs.regex;
const INLINE_HTML = {
begin: /<\/?[A-Za-z_]/,
end: '>',
subLanguage: 'xml',... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/python.js | src/languages/python.js | /*
Language: Python
Description: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
Website: https://www.python.org
Category: common
*/
export default function(hljs) {
const regex = hljs.regex;
const IDENT_RE = /[\p{XID_Start}_]\p{XID_Continue}*/u;
const RESERVED_W... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/julia-repl.js | src/languages/julia-repl.js | /*
Language: Julia REPL
Description: Julia REPL sessions
Author: Morten Piibeleht <morten.piibeleht@gmail.com>
Website: https://julialang.org
Requires: julia.js
Category: scientific
The Julia REPL code blocks look something like the following:
julia> function foo(x)
x + 1
end
foo (generic fu... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/coq.js | src/languages/coq.js | /*
Language: Coq
Author: Stephan Boyer <stephan@stephanboyer.com>
Category: functional
Website: https://coq.inria.fr
*/
/** @type LanguageFn */
export default function(hljs) {
const KEYWORDS = [
"_|0",
"as",
"at",
"cofix",
"else",
"end",
"exists",
"exists2",
"fix",
"for",
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/step21.js | src/languages/step21.js | /*
Language: STEP Part 21
Contributors: Adam Joseph Cook <adam.joseph.cook@gmail.com>
Description: Syntax highlighter for STEP Part 21 files (ISO 10303-21).
Website: https://en.wikipedia.org/wiki/ISO_10303-21
Category: syntax
*/
export default function(hljs) {
const STEP21_IDENT_RE = '[A-Z_][A-Z0-9_.]*';
const STE... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/bash.js | src/languages/bash.js | /*
Language: Bash
Author: vah <vahtenberg@gmail.com>
Contributrors: Benjamin Pannell <contact@sierrasoftworks.com>
Website: https://www.gnu.org/software/bash/
Category: common, scripting
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const VAR = {};
const BRACED_VAR = {
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/awk.js | src/languages/awk.js | /*
Language: Awk
Author: Matthew Daly <matthewbdaly@gmail.com>
Website: https://www.gnu.org/software/gawk/manual/gawk.html
Description: language definition for Awk scripts
Category: scripting
*/
/** @type LanguageFn */
export default function(hljs) {
const VARIABLE = {
className: 'variable',
variants: [
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/qml.js | src/languages/qml.js | /*
Language: QML
Requires: javascript.js, xml.js
Author: John Foster <jfoster@esri.com>
Description: Syntax highlighting for the Qt Quick QML scripting language, based mostly off
the JavaScript parser.
Website: https://doc.qt.io/qt-5/qmlapplications.html
Category: scripting
*/
export default function(hljs... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/properties.js | src/languages/properties.js | /*
Language: .properties
Contributors: Valentin Aitken <valentin@nalisbg.com>, Egor Rogov <e.rogov@postgrespro.ru>
Website: https://en.wikipedia.org/wiki/.properties
Category: config
*/
/** @type LanguageFn */
export default function(hljs) {
// whitespaces: space, tab, formfeed
const WS0 = '[ \\t\\f]*';
const WS... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/moonscript.js | src/languages/moonscript.js | /*
Language: MoonScript
Author: Billy Quith <chinbillybilbo@gmail.com>
Description: MoonScript is a programming language that transcompiles to Lua.
Origin: coffeescript.js
Website: http://moonscript.org/
Category: scripting
*/
export default function(hljs) {
const KEYWORDS = {
keyword:
// Moonscript keywor... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/hy.js | src/languages/hy.js | /*
Language: Hy
Description: Hy is a wonderful dialect of Lisp that’s embedded in Python.
Author: Sergey Sobko <s.sobko@profitware.ru>
Website: http://docs.hylang.org/en/stable/
Category: lisp
*/
export default function(hljs) {
const SYMBOLSTART = 'a-zA-Z_\\-!.?+*=<>&#\'';
const SYMBOL_RE = '[' + SYMBOLSTART + '][... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/java.js | src/languages/java.js | /*
Language: Java
Author: Vsevolod Solovyov <vsevolod.solovyov@gmail.com>
Category: common, enterprise
Website: https://www.java.com/
*/
import { NUMERIC as NUMBER } from "./lib/java.js";
/**
* Allows recursive regex expressions to a given depth
*
* ie: recurRegex("(abc~~~)", /~~~/g, 2) becomes:
* (abc(abc(abc)))... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/cos.js | src/languages/cos.js | /*
Language: Caché Object Script
Author: Nikita Savchenko <zitros.lab@gmail.com>
Category: enterprise, scripting
Website: https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls
*/
/** @type LanguageFn */
export default function cos(hljs) {
const STRINGS = {
className: 'string',
variants: [
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/xquery.js | src/languages/xquery.js | /*
Language: XQuery
Author: Dirk Kirsten <dk@basex.org>
Contributor: Duncan Paterson
Description: Supports XQuery 3.1 including XQuery Update 3, so also XPath (as it is a superset)
Refactored to process xml constructor syntax and function-bodies. Added missing data-types, xpath operands, inbuilt functions, and query pr... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/gradle.js | src/languages/gradle.js | /*
Language: Gradle
Description: Gradle is an open-source build automation tool focused on flexibility and performance.
Website: https://gradle.org
Author: Damian Mee <mee.damian@gmail.com>
Category: build-system
*/
export default function(hljs) {
const KEYWORDS = [
"task",
"project",
"allprojects",
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/autohotkey.js | src/languages/autohotkey.js | /*
Language: AutoHotkey
Author: Seongwon Lee <dlimpid@gmail.com>
Description: AutoHotkey language definition
Category: scripting
*/
/** @type LanguageFn */
export default function(hljs) {
const BACKTICK_ESCAPE = { begin: '`[\\s\\S]' };
return {
name: 'AutoHotkey',
case_insensitive: true,
aliases: [ 'a... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/subunit.js | src/languages/subunit.js | /*
Language: SubUnit
Author: Sergey Bronnikov <sergeyb@bronevichok.ru>
Website: https://pypi.org/project/python-subunit/
Category: protocols
*/
export default function(hljs) {
const DETAILS = {
className: 'string',
begin: '\\[\n(multipart)?',
end: '\\]\n'
};
const TIME = {
className: 'string',
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/http.js | src/languages/http.js | /*
Language: HTTP
Description: HTTP request and response headers with automatic body highlighting
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Category: protocols, web
Website: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview
*/
export default function(hljs) {
const regex = hljs.regex;
const VERSIO... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/gauss.js | src/languages/gauss.js | /*
Language: GAUSS
Author: Matt Evans <matt@aptech.com>
Description: GAUSS Mathematical and Statistical language
Website: https://www.aptech.com
Category: scientific
*/
export default function(hljs) {
const KEYWORDS = {
keyword: 'bool break call callexe checkinterrupt clear clearg closeall cls comlog compile '
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/diff.js | src/languages/diff.js | /*
Language: Diff
Description: Unified and context diff
Author: Vasily Polovnyov <vast@whiteants.net>
Website: https://www.gnu.org/software/diffutils/
Category: common
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
return {
name: 'Diff',
aliases: [ 'patch' ],
conta... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/cpp.js | src/languages/cpp.js | /*
Language: C++
Category: common, system
Website: https://isocpp.org
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
// added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does
// not include such support nor can we be sure all the grammars depending
// on it wou... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/q.js | src/languages/q.js | /*
Language: Q
Description: Q is a vector-based functional paradigm programming language built into the kdb+ database.
(K/Q/Kdb+ from Kx Systems)
Author: Sergey Vidyuk <svidyuk@gmail.com>
Website: https://kx.com/connect-with-us/developers/
Category: enterprise, functional, database
*/
export default funct... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/parser3.js | src/languages/parser3.js | /*
Language: Parser3
Requires: xml.js
Author: Oleg Volchkov <oleg@volchkov.net>
Website: https://www.parser.ru/en/
Category: template
*/
export default function(hljs) {
const CURLY_SUBCOMMENT = hljs.COMMENT(
/\{/,
/\}/,
{ contains: [ 'self' ] }
);
return {
name: 'Parser3',
subLanguage: 'xml',... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/twig.js | src/languages/twig.js | /*
Language: Twig
Requires: xml.js
Author: Luke Holder <lukemh@gmail.com>
Description: Twig is a templating language for PHP
Website: https://twig.symfony.com
Category: template
*/
export default function(hljs) {
const regex = hljs.regex;
const FUNCTION_NAMES = [
"absolute_url",
"asset|0",
"asset_versi... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/ini.js | src/languages/ini.js | /*
Language: TOML, also INI
Description: TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics.
Contributors: Guillaume Gomez <guillaume1.gomez@gmail.com>
Category: common, config
Website: https://github.com/toml-lang/toml
*/
export default function(hljs) {
const regex = hl... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/csp.js | src/languages/csp.js | /*
Language: CSP
Description: Content Security Policy definition highlighting
Author: Taras <oxdef@oxdef.info>
Website: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
Category: web
vim: ts=2 sw=2 st=2
*/
/** @type LanguageFn */
export default function(hljs) {
const KEYWORDS = [
"base-uri",
"child-src... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/tap.js | src/languages/tap.js | /*
Language: Test Anything Protocol
Description: TAP, the Test Anything Protocol, is a simple text-based interface between testing modules in a test harness.
Requires: yaml.js
Author: Sergey Bronnikov <sergeyb@bronevichok.ru>
Website: https://testanything.org
*/
export default function(hljs) {
return {
name: 'Te... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/julia.js | src/languages/julia.js | /*
Language: Julia
Description: Julia is a high-level, high-performance, dynamic programming language.
Author: Kenta Sato <bicycle1885@gmail.com>
Contributors: Alex Arslan <ararslan@comcast.net>, Fredrik Ekre <ekrefredrik@gmail.com>
Website: https://julialang.org
Category: scientific
*/
export default function(hljs) {... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/dart.js | src/languages/dart.js | /*
Language: Dart
Requires: markdown.js
Author: Maxim Dikun <dikmax@gmail.com>
Description: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/
Website: https://dart.dev
Category: scripting
*/
/** @type LanguageFn */
export default function(hljs) {
const SU... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/ruby.js | src/languages/ruby.js | /*
Language: Ruby
Description: Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.
Website: https://www.ruby-lang.org/
Author: Anton Kovalyov <anton@kovalyov.net>
Contributors: Peter Leonov <gojpeg@yandex.ru>, Vasily Polovnyov <vast@whiteants.net>, Loren Segal <lsegal@soen.c... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/mathematica.js | src/languages/mathematica.js | /*
Language: Wolfram Language
Description: The Wolfram Language is the programming language used in Wolfram Mathematica, a modern technical computing system spanning most areas of technical computing.
Authors: Patrick Scheibe <patrick@halirutan.de>, Robert Jacobson <robertjacobson@acm.org>
Website: https://www.wolfram.... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/livecodeserver.js | src/languages/livecodeserver.js | /*
Language: LiveCode
Author: Ralf Bitter <rabit@revigniter.com>
Description: Language definition for LiveCode server accounting for revIgniter (a web application framework) characteristics.
Version: 1.1
Date: 2019-04-17
Category: enterprise
*/
export default function(hljs) {
const VARIABLE = {
className: 'varia... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/axapta.js | src/languages/axapta.js | /*
Language: Microsoft X++
Description: X++ is a language used in Microsoft Dynamics 365, Dynamics AX, and Axapta.
Author: Dmitri Roudakov <dmitri@roudakov.ru>
Website: https://dynamics.microsoft.com/en-us/ax-overview/
Category: enterprise
*/
/** @type LanguageFn */
export default function(hljs) {
const IDENT_RE = h... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/nix.js | src/languages/nix.js | /*
Language: Nix
Author: Domen Kožar <domen@dev.si>
Description: Nix functional language
Website: http://nixos.org/nix
Category: system
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const KEYWORDS = {
keyword: [
"assert",
"else",
"if",
"in",
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/irpf90.js | src/languages/irpf90.js | /*
Language: IRPF90
Author: Anthony Scemama <scemama@irsamc.ups-tlse.fr>
Description: IRPF90 is an open-source Fortran code generator
Website: http://irpf90.ups-tlse.fr
Category: scientific
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const PARAMS = {
className: 'params'... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/rib.js | src/languages/rib.js | /*
Language: RenderMan RIB
Author: Konstantin Evdokimenko <qewerty@gmail.com>
Contributors: Shuen-Huei Guan <drake.guan@gmail.com>
Website: https://renderman.pixar.com/resources/RenderMan_20/ribBinding.html
Category: graphics
*/
export default function(hljs) {
return {
name: 'RenderMan RIB',
keywords:
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/processing.js | src/languages/processing.js | /*
Language: Processing
Description: Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts.
Author: Erik Paluka <erik.paluka@gmail.com>
Website: https://processing.org
Category: graphics
*/
export default function(hljs) {
const regex = hljs.regex;
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/handlebars.js | src/languages/handlebars.js | /*
Language: Handlebars
Requires: xml.js
Author: Robin Ward <robin.ward@gmail.com>
Description: Matcher for Handlebars as well as EmberJS additions.
Website: https://handlebarsjs.com
Category: template
*/
export default function(hljs) {
const regex = hljs.regex;
const BUILT_INS = {
$pattern: /[\w.\/]+/,
bu... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/php.js | src/languages/php.js | /*
Language: PHP
Author: Victor Karamzin <Victor.Karamzin@enterra-inc.com>
Contributors: Evgeny Stepanischev <imbolk@gmail.com>, Ivan Sagalaev <maniac@softwaremaniacs.org>
Website: https://www.php.net
Category: common
*/
/**
* @param {HLJSApi} hljs
* @returns {LanguageDetail}
* */
export default function(hljs) {
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/dos.js | src/languages/dos.js | /*
Language: Batch file (DOS)
Author: Alexander Makarov <sam@rmcreative.ru>
Contributors: Anton Kochkov <anton.kochkov@gmail.com>
Website: https://en.wikipedia.org/wiki/Batch_file
Category: scripting
*/
/** @type LanguageFn */
export default function(hljs) {
const COMMENT = hljs.COMMENT(
/^\s*@?rem\b/, /$/,
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/puppet.js | src/languages/puppet.js | /*
Language: Puppet
Author: Jose Molina Colmenero <gaudy41@gmail.com>
Website: https://puppet.com/docs
Category: config
*/
export default function(hljs) {
const PUPPET_KEYWORDS = {
keyword:
/* language keywords */
'and case default else elsif false if in import enherits node or true undef unless main s... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/actionscript.js | src/languages/actionscript.js | /*
Language: ActionScript
Author: Alexander Myadzel <myadzel@gmail.com>
Category: scripting
Audit: 2020
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const IDENT_RE = /[a-zA-Z_$][a-zA-Z0-9_$]*/;
const PKG_NAME_RE = regex.concat(
IDENT_RE,
regex.concat("(\\.", IDENT_... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/gams.js | src/languages/gams.js |
/*
Language: GAMS
Author: Stefan Bechert <stefan.bechert@gmx.net>
Contributors: Oleg Efimov <efimovov@gmail.com>, Mikko Kouhia <mikko.kouhia@iki.fi>
Description: The General Algebraic Modeling System language
Website: https://www.gams.com
Category: scientific
*/
/** @type LanguageFn */
export default function(... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/plaintext.js | src/languages/plaintext.js | /*
Language: Plain text
Author: Egor Rogov (e.rogov@postgrespro.ru)
Description: Plain text without any highlighting.
Category: common
*/
export default function(hljs) {
return {
name: 'Plain text',
aliases: [
'text',
'txt'
],
disableAutodetect: true
};
}
| javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/leaf.js | src/languages/leaf.js | /*
Language: Leaf
Description: A Swift-based templating language created for the Vapor project.
Website: https://docs.vapor.codes/leaf/overview
Category: template
*/
export default function(hljs) {
const IDENT = /([A-Za-z_][A-Za-z_0-9]*)?/;
const LITERALS = [
'true',
'false',
'in'
];
const PARAMS =... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/routeros.js | src/languages/routeros.js | /*
Language: MikroTik RouterOS script
Author: Ivan Dementev <ivan_div@mail.ru>
Description: Scripting host provides a way to automate some router maintenance tasks by means of executing user-defined scripts bounded to some event occurrence
Website: https://wiki.mikrotik.com/wiki/Manual:Scripting
Category: scripting
*/
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/d.js | src/languages/d.js | /*
Language: D
Author: Aleksandar Ruzicic <aleksandar@ruzicic.info>
Description: D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.
Version: 1.0a
Website: https://dlang.org
Category: system
Date: 2012-04-08
*/... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/lasso.js | src/languages/lasso.js | /*
Language: Lasso
Author: Eric Knibbe <eric@lassosoft.com>
Description: Lasso is a language and server platform for database-driven web applications. This definition handles Lasso 9 syntax and LassoScript for Lasso 8.6 and earlier.
Website: http://www.lassosoft.com/What-Is-Lasso
Category: database, web
*/
export defa... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/ceylon.js | src/languages/ceylon.js | /*
Language: Ceylon
Author: Lucas Werkmeister <mail@lucaswerkmeister.de>
Website: https://ceylon-lang.org
Category: system
*/
/** @type LanguageFn */
export default function(hljs) {
// 2.3. Identifiers and keywords
const KEYWORDS = [
"assembly",
"module",
"package",
"import",
"alias",
"clas... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/coffeescript.js | src/languages/coffeescript.js | /*
Language: CoffeeScript
Author: Dmytrii Nagirniak <dnagir@gmail.com>
Contributors: Oleg Efimov <efimovov@gmail.com>, Cédric Néhémie <cedric.nehemie@gmail.com>
Description: CoffeeScript is a programming language that transcompiles to JavaScript. For info about language see http://coffeescript.org/
Category: scripting
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/django.js | src/languages/django.js | /*
Language: Django
Description: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Requires: xml.js
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Contributors: Ilya Baryshev <baryshev@gmail.com>
Website: https://www.djangoproject.com
Category: template
*/
/... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/erlang.js | src/languages/erlang.js | /*
Language: Erlang
Description: Erlang is a general-purpose functional language, with strict evaluation, single assignment, and dynamic typing.
Author: Nikolay Zakharov <nikolay.desh@gmail.com>, Dmitry Kovega <arhibot@gmail.com>
Website: https://www.erlang.org
Category: functional
*/
/** @type LanguageFn */
export de... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/protobuf.js | src/languages/protobuf.js | /*
Language: Protocol Buffers
Author: Dan Tao <daniel.tao@gmail.com>
Description: Protocol buffer message definition format
Website: https://developers.google.com/protocol-buffers/docs/proto3
Category: protocols
*/
export default function(hljs) {
const KEYWORDS = [
"package",
"import",
"option",
"opt... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/sml.js | src/languages/sml.js | /*
Language: SML (Standard ML)
Author: Edwin Dalorzo <edwin@dalorzo.org>
Description: SML language definition.
Website: https://www.smlnj.org
Origin: ocaml.js
Category: functional
*/
export default function(hljs) {
return {
name: 'SML (Standard ML)',
aliases: [ 'ml' ],
keywords: {
$pattern: '[a-z_]\... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/jboss-cli.js | src/languages/jboss-cli.js | /*
Language: JBoss CLI
Author: Raphaël Parrëe <rparree@edc4it.com>
Description: language definition jboss cli
Website: https://docs.jboss.org/author/display/WFLY/Command+Line+Interface
Category: config
*/
export default function(hljs) {
const PARAM = {
begin: /[\w-]+ *=/,
returnBegin: true,
relevan... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/openscad.js | src/languages/openscad.js | /*
Language: OpenSCAD
Author: Dan Panzarella <alsoelp@gmail.com>
Description: OpenSCAD is a language for the 3D CAD modeling software of the same name.
Website: https://www.openscad.org
Category: scientific
*/
export default function(hljs) {
const SPECIAL_VARS = {
className: 'keyword',
begin: '\\$(f[asn]|t|v... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/accesslog.js | src/languages/accesslog.js | /*
Language: Apache Access Log
Author: Oleg Efimov <efimovov@gmail.com>
Description: Apache/Nginx Access Logs
Website: https://httpd.apache.org/docs/2.4/logs.html#accesslog
Category: web, logs
Audit: 2020
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
// https://develop... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/zephir.js | src/languages/zephir.js | /*
Language: Zephir
Description: Zephir, an open source, high-level language designed to ease the creation and maintainability of extensions for PHP with a focus on type and memory safety.
Author: Oleg Efimov <efimovov@gmail.com>
Website: https://zephir-lang.com/en
Category: web
Audit: 2020
*/
/** @type Languag... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/purebasic.js | src/languages/purebasic.js | /*
Language: PureBASIC
Author: Tristano Ajmone <tajmone@gmail.com>
Description: Syntax highlighting for PureBASIC (v.5.00-5.60). No inline ASM highlighting. (v.1.2, May 2017)
Credits: I've taken inspiration from the PureBasic language file for GeSHi, created by Gustavo Julio Fiorenza (GuShH).
Website: https://www.pureb... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/go.js | src/languages/go.js | /*
Language: Go
Author: Stephan Kountso aka StepLg <steplg@gmail.com>
Contributors: Evgeny Stepanischev <imbolk@gmail.com>
Description: Google go language (golang). For info about language
Website: http://golang.org/
Category: common, system
*/
export default function(hljs) {
const LITERALS = [
"true",
"fals... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/vbscript-html.js | src/languages/vbscript-html.js | /*
Language: VBScript in HTML
Requires: xml.js, vbscript.js
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Description: "Bridge" language defining fragments of VBScript in HTML within <% .. %>
Website: https://en.wikipedia.org/wiki/VBScript
Category: scripting
*/
export default function(hljs) {
return {
name... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/aspectj.js | src/languages/aspectj.js | /*
Language: AspectJ
Author: Hakan Ozler <ozler.hakan@gmail.com>
Website: https://www.eclipse.org/aspectj/
Description: Syntax Highlighting for the AspectJ Language which is a general-purpose aspect-oriented extension to the Java programming language.
Category: system
Audit: 2020
*/
/** @type LanguageFn */
export defa... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/clean.js | src/languages/clean.js | /*
Language: Clean
Author: Camil Staps <info@camilstaps.nl>
Category: functional
Website: http://clean.cs.ru.nl
*/
/** @type LanguageFn */
export default function(hljs) {
const KEYWORDS = [
"if",
"let",
"in",
"with",
"where",
"case",
"of",
"class",
"instance",
"otherwise",
... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/ldif.js | src/languages/ldif.js | /*
Language: LDIF
Contributors: Jacob Childress <jacobc@gmail.com>
Category: enterprise, config
Website: https://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format
*/
/** @type LanguageFn */
export default function(hljs) {
return {
name: 'LDIF',
contains: [
{
className: 'attribute',
mat... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/cmake.js | src/languages/cmake.js | /*
Language: CMake
Description: CMake is an open-source cross-platform system for build automation.
Author: Igor Kalnitsky <igor@kalnitsky.org>
Website: https://cmake.org
Category: build-system
*/
/** @type LanguageFn */
export default function(hljs) {
return {
name: 'CMake',
aliases: [ 'cmake.in' ],
cas... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/armasm.js | src/languages/armasm.js | /*
Language: ARM Assembly
Author: Dan Panzarella <alsoelp@gmail.com>
Description: ARM Assembly including Thumb and Thumb2 instructions
Category: assembler
*/
/** @type LanguageFn */
export default function(hljs) {
// local labels: %?[FB]?[AT]?\d{1,2}\w+
const COMMENT = { variants: [
hljs.COMMENT('^[ \\t]*(?=#... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/nginx.js | src/languages/nginx.js | /*
Language: Nginx config
Author: Peter Leonov <gojpeg@yandex.ru>
Contributors: Ivan Sagalaev <maniac@softwaremaniacs.org>
Category: config, web
Website: https://www.nginx.com
*/
/** @type LanguageFn */
export default function(hljs) {
const regex = hljs.regex;
const VAR = {
className: 'variable',
variants:... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/scheme.js | src/languages/scheme.js | /*
Language: Scheme
Description: Scheme is a programming language in the Lisp family.
(keywords based on http://community.schemewiki.org/?scheme-keywords)
Author: JP Verkamp <me@jverkamp.com>
Contributors: Ivan Sagalaev <maniac@softwaremaniacs.org>
Origin: clojure.js
Website: http://community.schemewiki.or... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
highlightjs/highlight.js | https://github.com/highlightjs/highlight.js/blob/5697ae5187746c24732e62cd625f3f83004a44ce/src/languages/stata.js | src/languages/stata.js | /*
Language: Stata
Author: Brian Quistorff <bquistorff@gmail.com>
Contributors: Drew McDonald <drewmcdo@gmail.com>
Description: Stata is a general-purpose statistical software package created in 1985 by StataCorp.
Website: https://en.wikipedia.org/wiki/Stata
Category: scientific
*/
/*
This is a fork and modification... | javascript | BSD-3-Clause | 5697ae5187746c24732e62cd625f3f83004a44ce | 2026-01-04T15:04:59.993644Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.