react-syntax-highlighter
Advanced tools
Comparing version 15.2.1 to 15.3.0
@@ -24,2 +24,3 @@ ## Available `language` imports | ||
* bbcode | ||
* birb | ||
* bison | ||
@@ -30,2 +31,3 @@ * bnf | ||
* bro | ||
* bsl | ||
* c | ||
@@ -131,2 +133,3 @@ * cil | ||
* mizar | ||
* mongodb | ||
* monkey | ||
@@ -137,2 +140,3 @@ * moonscript | ||
* nand2tetrisHdl (nand2tetris-hdl) | ||
* naniscript | ||
* nasm | ||
@@ -169,2 +173,3 @@ * neon | ||
* purebasic | ||
* purescript | ||
* python | ||
@@ -194,2 +199,3 @@ * q | ||
* smarty | ||
* sml | ||
* solidity | ||
@@ -202,2 +208,3 @@ * solutionFile (solution-file) | ||
* sql | ||
* stan | ||
* stylus | ||
@@ -217,2 +224,3 @@ * swift | ||
* typescript | ||
* typoscript | ||
* unrealscript | ||
@@ -219,0 +227,0 @@ * vala |
## Available `stylesheet` props | ||
* coy | ||
* dark | ||
* funky | ||
* okaidia | ||
* solarizedlight | ||
* tomorrow | ||
* twilight | ||
* prism | ||
* a11yDark | ||
@@ -6,2 +14,5 @@ * atomDark | ||
* cb | ||
* coldarkCold | ||
* coldarkDark | ||
* coyWithoutShadows | ||
* darcula | ||
@@ -26,10 +37,2 @@ * dracula | ||
* vscDarkPlus | ||
* xonokai | ||
* coy | ||
* dark | ||
* funky | ||
* okaidia | ||
* solarizedlight | ||
* tomorrow | ||
* twilight | ||
* prism | ||
* xonokai |
# Changelog | ||
## 15.3.0 / 2020-10-29 | ||
- Updated prismjs (1.22.0) and refractor (3.2.0) | ||
- Updated prism-themes (1.5.0) | ||
- Fixed a broken readme link | ||
## 15.2.1 / 2020-10-08 | ||
@@ -4,0 +9,0 @@ - Bugfix: use string templating in language-specific theming code |
@@ -123,2 +123,7 @@ "use strict"; | ||
}), | ||
birb: (0, _createLanguageAsyncLoader.default)("birb", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/birb.js"); | ||
}); | ||
}), | ||
bison: (0, _createLanguageAsyncLoader.default)("bison", function () { | ||
@@ -149,2 +154,7 @@ return Promise.resolve().then(function () { | ||
}), | ||
bsl: (0, _createLanguageAsyncLoader.default)("bsl", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/bsl.js"); | ||
}); | ||
}), | ||
c: (0, _createLanguageAsyncLoader.default)("c", function () { | ||
@@ -650,2 +660,7 @@ return Promise.resolve().then(function () { | ||
}), | ||
mongodb: (0, _createLanguageAsyncLoader.default)("mongodb", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/mongodb.js"); | ||
}); | ||
}), | ||
monkey: (0, _createLanguageAsyncLoader.default)("monkey", function () { | ||
@@ -676,2 +691,7 @@ return Promise.resolve().then(function () { | ||
}), | ||
naniscript: (0, _createLanguageAsyncLoader.default)("naniscript", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/naniscript.js"); | ||
}); | ||
}), | ||
nasm: (0, _createLanguageAsyncLoader.default)("nasm", function () { | ||
@@ -832,2 +852,7 @@ return Promise.resolve().then(function () { | ||
}), | ||
purescript: (0, _createLanguageAsyncLoader.default)("purescript", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/purescript.js"); | ||
}); | ||
}), | ||
python: (0, _createLanguageAsyncLoader.default)("python", function () { | ||
@@ -953,2 +978,7 @@ return Promise.resolve().then(function () { | ||
}), | ||
sml: (0, _createLanguageAsyncLoader.default)("sml", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/sml.js"); | ||
}); | ||
}), | ||
solidity: (0, _createLanguageAsyncLoader.default)("solidity", function () { | ||
@@ -989,2 +1019,7 @@ return Promise.resolve().then(function () { | ||
}), | ||
stan: (0, _createLanguageAsyncLoader.default)("stan", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/stan.js"); | ||
}); | ||
}), | ||
stylus: (0, _createLanguageAsyncLoader.default)("stylus", function () { | ||
@@ -1060,2 +1095,7 @@ return Promise.resolve().then(function () { | ||
}), | ||
typoscript: (0, _createLanguageAsyncLoader.default)("typoscript", function () { | ||
return Promise.resolve().then(function () { | ||
return require("refractor/lang/typoscript.js"); | ||
}); | ||
}), | ||
unrealscript: (0, _createLanguageAsyncLoader.default)("unrealscript", function () { | ||
@@ -1062,0 +1102,0 @@ return Promise.resolve().then(function () { |
@@ -140,2 +140,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "birb", { | ||
enumerable: true, | ||
get: function get() { | ||
return _birb.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "bison", { | ||
@@ -171,2 +177,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "bsl", { | ||
enumerable: true, | ||
get: function get() { | ||
return _bsl.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "c", { | ||
@@ -772,2 +784,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "mongodb", { | ||
enumerable: true, | ||
get: function get() { | ||
return _mongodb.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "monkey", { | ||
@@ -803,2 +821,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "naniscript", { | ||
enumerable: true, | ||
get: function get() { | ||
return _naniscript.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "nasm", { | ||
@@ -990,2 +1014,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "purescript", { | ||
enumerable: true, | ||
get: function get() { | ||
return _purescript.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "python", { | ||
@@ -1135,2 +1165,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "sml", { | ||
enumerable: true, | ||
get: function get() { | ||
return _sml.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "solidity", { | ||
@@ -1178,2 +1214,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "stan", { | ||
enumerable: true, | ||
get: function get() { | ||
return _stan.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "stylus", { | ||
@@ -1263,2 +1305,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "typoscript", { | ||
enumerable: true, | ||
get: function get() { | ||
return _typoscript.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "unrealscript", { | ||
@@ -1417,2 +1465,4 @@ enumerable: true, | ||
var _birb = _interopRequireDefault(require("./birb")); | ||
var _bison = _interopRequireDefault(require("./bison")); | ||
@@ -1428,2 +1478,4 @@ | ||
var _bsl = _interopRequireDefault(require("./bsl")); | ||
var _c = _interopRequireDefault(require("./c")); | ||
@@ -1629,2 +1681,4 @@ | ||
var _mongodb = _interopRequireDefault(require("./mongodb")); | ||
var _monkey = _interopRequireDefault(require("./monkey")); | ||
@@ -1640,2 +1694,4 @@ | ||
var _naniscript = _interopRequireDefault(require("./naniscript")); | ||
var _nasm = _interopRequireDefault(require("./nasm")); | ||
@@ -1703,2 +1759,4 @@ | ||
var _purescript = _interopRequireDefault(require("./purescript")); | ||
var _python = _interopRequireDefault(require("./python")); | ||
@@ -1752,2 +1810,4 @@ | ||
var _sml = _interopRequireDefault(require("./sml")); | ||
var _solidity = _interopRequireDefault(require("./solidity")); | ||
@@ -1767,2 +1827,4 @@ | ||
var _stan = _interopRequireDefault(require("./stan")); | ||
var _stylus = _interopRequireDefault(require("./stylus")); | ||
@@ -1796,2 +1858,4 @@ | ||
var _typoscript = _interopRequireDefault(require("./typoscript")); | ||
var _unrealscript = _interopRequireDefault(require("./unrealscript")); | ||
@@ -1798,0 +1862,0 @@ |
@@ -10,3 +10,3 @@ "use strict"; | ||
// | ||
var _default = ['abap', 'abnf', 'actionscript', 'ada', 'agda', 'al', 'antlr4', 'apacheconf', 'apl', 'applescript', 'aql', 'arduino', 'arff', 'asciidoc', 'asm6502', 'aspnet', 'autohotkey', 'autoit', 'bash', 'basic', 'batch', 'bbcode', 'bison', 'bnf', 'brainfuck', 'brightscript', 'bro', 'c', 'cil', 'clike', 'clojure', 'cmake', 'coffeescript', 'concurnas', 'cpp', 'crystal', 'csharp', 'csp', 'css-extras', 'css', 'cypher', 'd', 'dart', 'dax', 'dhall', 'diff', 'django', 'dns-zone-file', 'docker', 'ebnf', 'editorconfig', 'eiffel', 'ejs', 'elixir', 'elm', 'erb', 'erlang', 'etlua', 'excel-formula', 'factor', 'firestore-security-rules', 'flow', 'fortran', 'fsharp', 'ftl', 'gcode', 'gdscript', 'gedcom', 'gherkin', 'git', 'glsl', 'gml', 'go', 'graphql', 'groovy', 'haml', 'handlebars', 'haskell', 'haxe', 'hcl', 'hlsl', 'hpkp', 'hsts', 'http', 'ichigojam', 'icon', 'iecst', 'ignore', 'inform7', 'ini', 'io', 'j', 'java', 'javadoc', 'javadoclike', 'javascript', 'javastacktrace', 'jolie', 'jq', 'js-extras', 'js-templates', 'jsdoc', 'json', 'json5', 'jsonp', 'jsstacktrace', 'jsx', 'julia', 'keyman', 'kotlin', 'latex', 'latte', 'less', 'lilypond', 'liquid', 'lisp', 'livescript', 'llvm', 'lolcode', 'lua', 'makefile', 'markdown', 'markup-templating', 'markup', 'matlab', 'mel', 'mizar', 'monkey', 'moonscript', 'n1ql', 'n4js', 'nand2tetris-hdl', 'nasm', 'neon', 'nginx', 'nim', 'nix', 'nsis', 'objectivec', 'ocaml', 'opencl', 'oz', 'parigp', 'parser', 'pascal', 'pascaligo', 'pcaxis', 'peoplecode', 'perl', 'php-extras', 'php', 'phpdoc', 'plsql', 'powerquery', 'powershell', 'processing', 'prolog', 'properties', 'protobuf', 'pug', 'puppet', 'pure', 'purebasic', 'python', 'q', 'qml', 'qore', 'r', 'racket', 'reason', 'regex', 'renpy', 'rest', 'rip', 'roboconf', 'robotframework', 'ruby', 'rust', 'sas', 'sass', 'scala', 'scheme', 'scss', 'shell-session', 'smali', 'smalltalk', 'smarty', 'solidity', 'solution-file', 'soy', 'sparql', 'splunk-spl', 'sqf', 'sql', 'stylus', 'swift', 't4-cs', 't4-templating', 't4-vb', 'tap', 'tcl', 'textile', 'toml', 'tsx', 'tt2', 'turtle', 'twig', 'typescript', 'unrealscript', 'vala', 'vbnet', 'velocity', 'verilog', 'vhdl', 'vim', 'visual-basic', 'warpscript', 'wasm', 'wiki', 'xeora', 'xml-doc', 'xojo', 'xquery', 'yaml', 'yang', 'zig']; | ||
var _default = ['abap', 'abnf', 'actionscript', 'ada', 'agda', 'al', 'antlr4', 'apacheconf', 'apl', 'applescript', 'aql', 'arduino', 'arff', 'asciidoc', 'asm6502', 'aspnet', 'autohotkey', 'autoit', 'bash', 'basic', 'batch', 'bbcode', 'birb', 'bison', 'bnf', 'brainfuck', 'brightscript', 'bro', 'bsl', 'c', 'cil', 'clike', 'clojure', 'cmake', 'coffeescript', 'concurnas', 'cpp', 'crystal', 'csharp', 'csp', 'css-extras', 'css', 'cypher', 'd', 'dart', 'dax', 'dhall', 'diff', 'django', 'dns-zone-file', 'docker', 'ebnf', 'editorconfig', 'eiffel', 'ejs', 'elixir', 'elm', 'erb', 'erlang', 'etlua', 'excel-formula', 'factor', 'firestore-security-rules', 'flow', 'fortran', 'fsharp', 'ftl', 'gcode', 'gdscript', 'gedcom', 'gherkin', 'git', 'glsl', 'gml', 'go', 'graphql', 'groovy', 'haml', 'handlebars', 'haskell', 'haxe', 'hcl', 'hlsl', 'hpkp', 'hsts', 'http', 'ichigojam', 'icon', 'iecst', 'ignore', 'inform7', 'ini', 'io', 'j', 'java', 'javadoc', 'javadoclike', 'javascript', 'javastacktrace', 'jolie', 'jq', 'js-extras', 'js-templates', 'jsdoc', 'json', 'json5', 'jsonp', 'jsstacktrace', 'jsx', 'julia', 'keyman', 'kotlin', 'latex', 'latte', 'less', 'lilypond', 'liquid', 'lisp', 'livescript', 'llvm', 'lolcode', 'lua', 'makefile', 'markdown', 'markup-templating', 'markup', 'matlab', 'mel', 'mizar', 'mongodb', 'monkey', 'moonscript', 'n1ql', 'n4js', 'nand2tetris-hdl', 'naniscript', 'nasm', 'neon', 'nginx', 'nim', 'nix', 'nsis', 'objectivec', 'ocaml', 'opencl', 'oz', 'parigp', 'parser', 'pascal', 'pascaligo', 'pcaxis', 'peoplecode', 'perl', 'php-extras', 'php', 'phpdoc', 'plsql', 'powerquery', 'powershell', 'processing', 'prolog', 'properties', 'protobuf', 'pug', 'puppet', 'pure', 'purebasic', 'purescript', 'python', 'q', 'qml', 'qore', 'r', 'racket', 'reason', 'regex', 'renpy', 'rest', 'rip', 'roboconf', 'robotframework', 'ruby', 'rust', 'sas', 'sass', 'scala', 'scheme', 'scss', 'shell-session', 'smali', 'smalltalk', 'smarty', 'sml', 'solidity', 'solution-file', 'soy', 'sparql', 'splunk-spl', 'sqf', 'sql', 'stan', 'stylus', 'swift', 't4-cs', 't4-templating', 't4-vb', 'tap', 'tcl', 'textile', 'toml', 'tsx', 'tt2', 'turtle', 'twig', 'typescript', 'typoscript', 'unrealscript', 'vala', 'vbnet', 'velocity', 'verilog', 'vhdl', 'vim', 'visual-basic', 'warpscript', 'wasm', 'wiki', 'xeora', 'xml-doc', 'xojo', 'xquery', 'yaml', 'yang', 'zig']; | ||
exports.default = _default; |
@@ -8,2 +8,50 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "coy", { | ||
enumerable: true, | ||
get: function get() { | ||
return _coy.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "dark", { | ||
enumerable: true, | ||
get: function get() { | ||
return _dark.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "funky", { | ||
enumerable: true, | ||
get: function get() { | ||
return _funky.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "okaidia", { | ||
enumerable: true, | ||
get: function get() { | ||
return _okaidia.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "solarizedlight", { | ||
enumerable: true, | ||
get: function get() { | ||
return _solarizedlight.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "tomorrow", { | ||
enumerable: true, | ||
get: function get() { | ||
return _tomorrow.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "twilight", { | ||
enumerable: true, | ||
get: function get() { | ||
return _twilight.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "prism", { | ||
enumerable: true, | ||
get: function get() { | ||
return _prism.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "a11yDark", { | ||
@@ -33,2 +81,20 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "coldarkCold", { | ||
enumerable: true, | ||
get: function get() { | ||
return _coldarkCold.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "coldarkDark", { | ||
enumerable: true, | ||
get: function get() { | ||
return _coldarkDark.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "coyWithoutShadows", { | ||
enumerable: true, | ||
get: function get() { | ||
return _coyWithoutShadows.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "darcula", { | ||
@@ -154,51 +220,19 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "coy", { | ||
enumerable: true, | ||
get: function get() { | ||
return _coy.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "dark", { | ||
enumerable: true, | ||
get: function get() { | ||
return _dark.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "funky", { | ||
enumerable: true, | ||
get: function get() { | ||
return _funky.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "okaidia", { | ||
enumerable: true, | ||
get: function get() { | ||
return _okaidia.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "solarizedlight", { | ||
enumerable: true, | ||
get: function get() { | ||
return _solarizedlight.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "tomorrow", { | ||
enumerable: true, | ||
get: function get() { | ||
return _tomorrow.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "twilight", { | ||
enumerable: true, | ||
get: function get() { | ||
return _twilight.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "prism", { | ||
enumerable: true, | ||
get: function get() { | ||
return _prism.default; | ||
} | ||
}); | ||
var _coy = _interopRequireDefault(require("./coy")); | ||
var _dark = _interopRequireDefault(require("./dark")); | ||
var _funky = _interopRequireDefault(require("./funky")); | ||
var _okaidia = _interopRequireDefault(require("./okaidia")); | ||
var _solarizedlight = _interopRequireDefault(require("./solarizedlight")); | ||
var _tomorrow = _interopRequireDefault(require("./tomorrow")); | ||
var _twilight = _interopRequireDefault(require("./twilight")); | ||
var _prism = _interopRequireDefault(require("./prism")); | ||
var _a11yDark = _interopRequireDefault(require("./a11y-dark")); | ||
@@ -212,2 +246,8 @@ | ||
var _coldarkCold = _interopRequireDefault(require("./coldark-cold")); | ||
var _coldarkDark = _interopRequireDefault(require("./coldark-dark")); | ||
var _coyWithoutShadows = _interopRequireDefault(require("./coy-without-shadows")); | ||
var _darcula = _interopRequireDefault(require("./darcula")); | ||
@@ -251,18 +291,2 @@ | ||
var _xonokai = _interopRequireDefault(require("./xonokai")); | ||
var _coy = _interopRequireDefault(require("./coy")); | ||
var _dark = _interopRequireDefault(require("./dark")); | ||
var _funky = _interopRequireDefault(require("./funky")); | ||
var _okaidia = _interopRequireDefault(require("./okaidia")); | ||
var _solarizedlight = _interopRequireDefault(require("./solarizedlight")); | ||
var _tomorrow = _interopRequireDefault(require("./tomorrow")); | ||
var _twilight = _interopRequireDefault(require("./twilight")); | ||
var _prism = _interopRequireDefault(require("./prism")); | ||
var _xonokai = _interopRequireDefault(require("./xonokai")); |
@@ -114,3 +114,3 @@ "use strict"; | ||
}, | ||
"deleted": { | ||
"inserted": { | ||
"color": "#b5cea8" | ||
@@ -136,3 +136,3 @@ }, | ||
}, | ||
"inserted": { | ||
"deleted": { | ||
"color": "#ce9178" | ||
@@ -139,0 +139,0 @@ }, |
@@ -113,2 +113,7 @@ import createLanguageAsyncLoader from "./create-language-async-loader"; | ||
}), | ||
birb: createLanguageAsyncLoader("birb", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_birb" */ | ||
"refractor/lang/birb.js"); | ||
}), | ||
bison: createLanguageAsyncLoader("bison", function () { | ||
@@ -139,2 +144,7 @@ return import( | ||
}), | ||
bsl: createLanguageAsyncLoader("bsl", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_bsl" */ | ||
"refractor/lang/bsl.js"); | ||
}), | ||
c: createLanguageAsyncLoader("c", function () { | ||
@@ -640,2 +650,7 @@ return import( | ||
}), | ||
mongodb: createLanguageAsyncLoader("mongodb", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_mongodb" */ | ||
"refractor/lang/mongodb.js"); | ||
}), | ||
monkey: createLanguageAsyncLoader("monkey", function () { | ||
@@ -666,2 +681,7 @@ return import( | ||
}), | ||
naniscript: createLanguageAsyncLoader("naniscript", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_naniscript" */ | ||
"refractor/lang/naniscript.js"); | ||
}), | ||
nasm: createLanguageAsyncLoader("nasm", function () { | ||
@@ -822,2 +842,7 @@ return import( | ||
}), | ||
purescript: createLanguageAsyncLoader("purescript", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_purescript" */ | ||
"refractor/lang/purescript.js"); | ||
}), | ||
python: createLanguageAsyncLoader("python", function () { | ||
@@ -943,2 +968,7 @@ return import( | ||
}), | ||
sml: createLanguageAsyncLoader("sml", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_sml" */ | ||
"refractor/lang/sml.js"); | ||
}), | ||
solidity: createLanguageAsyncLoader("solidity", function () { | ||
@@ -979,2 +1009,7 @@ return import( | ||
}), | ||
stan: createLanguageAsyncLoader("stan", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_stan" */ | ||
"refractor/lang/stan.js"); | ||
}), | ||
stylus: createLanguageAsyncLoader("stylus", function () { | ||
@@ -1050,2 +1085,7 @@ return import( | ||
}), | ||
typoscript: createLanguageAsyncLoader("typoscript", function () { | ||
return import( | ||
/* webpackChunkName: "react-syntax-highlighter_languages_refractor_typoscript" */ | ||
"refractor/lang/typoscript.js"); | ||
}), | ||
unrealscript: createLanguageAsyncLoader("unrealscript", function () { | ||
@@ -1052,0 +1092,0 @@ return import( |
@@ -23,2 +23,3 @@ export { default as abap } from './abap'; | ||
export { default as bbcode } from './bbcode'; | ||
export { default as birb } from './birb'; | ||
export { default as bison } from './bison'; | ||
@@ -29,2 +30,3 @@ export { default as bnf } from './bnf'; | ||
export { default as bro } from './bro'; | ||
export { default as bsl } from './bsl'; | ||
export { default as c } from './c'; | ||
@@ -130,2 +132,3 @@ export { default as cil } from './cil'; | ||
export { default as mizar } from './mizar'; | ||
export { default as mongodb } from './mongodb'; | ||
export { default as monkey } from './monkey'; | ||
@@ -136,2 +139,3 @@ export { default as moonscript } from './moonscript'; | ||
export { default as nand2tetrisHdl } from './nand2tetris-hdl'; | ||
export { default as naniscript } from './naniscript'; | ||
export { default as nasm } from './nasm'; | ||
@@ -168,2 +172,3 @@ export { default as neon } from './neon'; | ||
export { default as purebasic } from './purebasic'; | ||
export { default as purescript } from './purescript'; | ||
export { default as python } from './python'; | ||
@@ -193,2 +198,3 @@ export { default as q } from './q'; | ||
export { default as smarty } from './smarty'; | ||
export { default as sml } from './sml'; | ||
export { default as solidity } from './solidity'; | ||
@@ -201,2 +207,3 @@ export { default as solutionFile } from './solution-file'; | ||
export { default as sql } from './sql'; | ||
export { default as stan } from './stan'; | ||
export { default as stylus } from './stylus'; | ||
@@ -216,2 +223,3 @@ export { default as swift } from './swift'; | ||
export { default as typescript } from './typescript'; | ||
export { default as typoscript } from './typoscript'; | ||
export { default as unrealscript } from './unrealscript'; | ||
@@ -218,0 +226,0 @@ export { default as vala } from './vala'; |
// | ||
// This file has been auto-generated by the `npm run build-languages-prism` task | ||
// | ||
export default ['abap', 'abnf', 'actionscript', 'ada', 'agda', 'al', 'antlr4', 'apacheconf', 'apl', 'applescript', 'aql', 'arduino', 'arff', 'asciidoc', 'asm6502', 'aspnet', 'autohotkey', 'autoit', 'bash', 'basic', 'batch', 'bbcode', 'bison', 'bnf', 'brainfuck', 'brightscript', 'bro', 'c', 'cil', 'clike', 'clojure', 'cmake', 'coffeescript', 'concurnas', 'cpp', 'crystal', 'csharp', 'csp', 'css-extras', 'css', 'cypher', 'd', 'dart', 'dax', 'dhall', 'diff', 'django', 'dns-zone-file', 'docker', 'ebnf', 'editorconfig', 'eiffel', 'ejs', 'elixir', 'elm', 'erb', 'erlang', 'etlua', 'excel-formula', 'factor', 'firestore-security-rules', 'flow', 'fortran', 'fsharp', 'ftl', 'gcode', 'gdscript', 'gedcom', 'gherkin', 'git', 'glsl', 'gml', 'go', 'graphql', 'groovy', 'haml', 'handlebars', 'haskell', 'haxe', 'hcl', 'hlsl', 'hpkp', 'hsts', 'http', 'ichigojam', 'icon', 'iecst', 'ignore', 'inform7', 'ini', 'io', 'j', 'java', 'javadoc', 'javadoclike', 'javascript', 'javastacktrace', 'jolie', 'jq', 'js-extras', 'js-templates', 'jsdoc', 'json', 'json5', 'jsonp', 'jsstacktrace', 'jsx', 'julia', 'keyman', 'kotlin', 'latex', 'latte', 'less', 'lilypond', 'liquid', 'lisp', 'livescript', 'llvm', 'lolcode', 'lua', 'makefile', 'markdown', 'markup-templating', 'markup', 'matlab', 'mel', 'mizar', 'monkey', 'moonscript', 'n1ql', 'n4js', 'nand2tetris-hdl', 'nasm', 'neon', 'nginx', 'nim', 'nix', 'nsis', 'objectivec', 'ocaml', 'opencl', 'oz', 'parigp', 'parser', 'pascal', 'pascaligo', 'pcaxis', 'peoplecode', 'perl', 'php-extras', 'php', 'phpdoc', 'plsql', 'powerquery', 'powershell', 'processing', 'prolog', 'properties', 'protobuf', 'pug', 'puppet', 'pure', 'purebasic', 'python', 'q', 'qml', 'qore', 'r', 'racket', 'reason', 'regex', 'renpy', 'rest', 'rip', 'roboconf', 'robotframework', 'ruby', 'rust', 'sas', 'sass', 'scala', 'scheme', 'scss', 'shell-session', 'smali', 'smalltalk', 'smarty', 'solidity', 'solution-file', 'soy', 'sparql', 'splunk-spl', 'sqf', 'sql', 'stylus', 'swift', 't4-cs', 't4-templating', 't4-vb', 'tap', 'tcl', 'textile', 'toml', 'tsx', 'tt2', 'turtle', 'twig', 'typescript', 'unrealscript', 'vala', 'vbnet', 'velocity', 'verilog', 'vhdl', 'vim', 'visual-basic', 'warpscript', 'wasm', 'wiki', 'xeora', 'xml-doc', 'xojo', 'xquery', 'yaml', 'yang', 'zig']; | ||
export default ['abap', 'abnf', 'actionscript', 'ada', 'agda', 'al', 'antlr4', 'apacheconf', 'apl', 'applescript', 'aql', 'arduino', 'arff', 'asciidoc', 'asm6502', 'aspnet', 'autohotkey', 'autoit', 'bash', 'basic', 'batch', 'bbcode', 'birb', 'bison', 'bnf', 'brainfuck', 'brightscript', 'bro', 'bsl', 'c', 'cil', 'clike', 'clojure', 'cmake', 'coffeescript', 'concurnas', 'cpp', 'crystal', 'csharp', 'csp', 'css-extras', 'css', 'cypher', 'd', 'dart', 'dax', 'dhall', 'diff', 'django', 'dns-zone-file', 'docker', 'ebnf', 'editorconfig', 'eiffel', 'ejs', 'elixir', 'elm', 'erb', 'erlang', 'etlua', 'excel-formula', 'factor', 'firestore-security-rules', 'flow', 'fortran', 'fsharp', 'ftl', 'gcode', 'gdscript', 'gedcom', 'gherkin', 'git', 'glsl', 'gml', 'go', 'graphql', 'groovy', 'haml', 'handlebars', 'haskell', 'haxe', 'hcl', 'hlsl', 'hpkp', 'hsts', 'http', 'ichigojam', 'icon', 'iecst', 'ignore', 'inform7', 'ini', 'io', 'j', 'java', 'javadoc', 'javadoclike', 'javascript', 'javastacktrace', 'jolie', 'jq', 'js-extras', 'js-templates', 'jsdoc', 'json', 'json5', 'jsonp', 'jsstacktrace', 'jsx', 'julia', 'keyman', 'kotlin', 'latex', 'latte', 'less', 'lilypond', 'liquid', 'lisp', 'livescript', 'llvm', 'lolcode', 'lua', 'makefile', 'markdown', 'markup-templating', 'markup', 'matlab', 'mel', 'mizar', 'mongodb', 'monkey', 'moonscript', 'n1ql', 'n4js', 'nand2tetris-hdl', 'naniscript', 'nasm', 'neon', 'nginx', 'nim', 'nix', 'nsis', 'objectivec', 'ocaml', 'opencl', 'oz', 'parigp', 'parser', 'pascal', 'pascaligo', 'pcaxis', 'peoplecode', 'perl', 'php-extras', 'php', 'phpdoc', 'plsql', 'powerquery', 'powershell', 'processing', 'prolog', 'properties', 'protobuf', 'pug', 'puppet', 'pure', 'purebasic', 'purescript', 'python', 'q', 'qml', 'qore', 'r', 'racket', 'reason', 'regex', 'renpy', 'rest', 'rip', 'roboconf', 'robotframework', 'ruby', 'rust', 'sas', 'sass', 'scala', 'scheme', 'scss', 'shell-session', 'smali', 'smalltalk', 'smarty', 'sml', 'solidity', 'solution-file', 'soy', 'sparql', 'splunk-spl', 'sqf', 'sql', 'stan', 'stylus', 'swift', 't4-cs', 't4-templating', 't4-vb', 'tap', 'tcl', 'textile', 'toml', 'tsx', 'tt2', 'turtle', 'twig', 'typescript', 'typoscript', 'unrealscript', 'vala', 'vbnet', 'velocity', 'verilog', 'vhdl', 'vim', 'visual-basic', 'warpscript', 'wasm', 'wiki', 'xeora', 'xml-doc', 'xojo', 'xquery', 'yaml', 'yang', 'zig']; |
@@ -0,1 +1,9 @@ | ||
export { default as coy } from './coy'; | ||
export { default as dark } from './dark'; | ||
export { default as funky } from './funky'; | ||
export { default as okaidia } from './okaidia'; | ||
export { default as solarizedlight } from './solarizedlight'; | ||
export { default as tomorrow } from './tomorrow'; | ||
export { default as twilight } from './twilight'; | ||
export { default as prism } from './prism'; | ||
export { default as a11yDark } from './a11y-dark'; | ||
@@ -5,2 +13,5 @@ export { default as atomDark } from './atom-dark'; | ||
export { default as cb } from './cb'; | ||
export { default as coldarkCold } from './coldark-cold'; | ||
export { default as coldarkDark } from './coldark-dark'; | ||
export { default as coyWithoutShadows } from './coy-without-shadows'; | ||
export { default as darcula } from './darcula'; | ||
@@ -25,10 +36,2 @@ export { default as dracula } from './dracula'; | ||
export { default as vscDarkPlus } from './vsc-dark-plus'; | ||
export { default as xonokai } from './xonokai'; | ||
export { default as coy } from './coy'; | ||
export { default as dark } from './dark'; | ||
export { default as funky } from './funky'; | ||
export { default as okaidia } from './okaidia'; | ||
export { default as solarizedlight } from './solarizedlight'; | ||
export { default as tomorrow } from './tomorrow'; | ||
export { default as twilight } from './twilight'; | ||
export { default as prism } from './prism'; | ||
export { default as xonokai } from './xonokai'; |
@@ -108,3 +108,3 @@ export default { | ||
}, | ||
"deleted": { | ||
"inserted": { | ||
"color": "#b5cea8" | ||
@@ -130,3 +130,3 @@ }, | ||
}, | ||
"inserted": { | ||
"deleted": { | ||
"color": "#ce9178" | ||
@@ -133,0 +133,0 @@ }, |
{ | ||
"name": "react-syntax-highlighter", | ||
"version": "15.2.1", | ||
"version": "15.3.0", | ||
"description": "syntax highlighting component for react with prismjs or highlightjs ast using inline styles", | ||
@@ -12,4 +12,4 @@ "main": "dist/cjs/index.js", | ||
"lowlight": "^1.14.0", | ||
"prismjs": "^1.21.0", | ||
"refractor": "^3.1.0" | ||
"prismjs": "^1.22.0", | ||
"refractor": "^3.2.0" | ||
}, | ||
@@ -46,3 +46,3 @@ "jest": { | ||
"prettier": "^1.15.2", | ||
"prism-themes": "1.4.1", | ||
"prism-themes": "1.5.0", | ||
"react": "^15.2.0", | ||
@@ -49,0 +49,0 @@ "react-dom": "^15.2.0", |
@@ -46,3 +46,3 @@ ## React Syntax Highlighter | ||
- `lineProps` - props to be passed to the span wrapping each line if wrapLines is true. Can be either an object or a function that receives current line number as argument and returns props object. | ||
- `renderer` - an optional custom renderer for rendering lines of code. See <a href="https://github.com/react-syntax-highlighter/react-syntax-highlighter-virtualized-renderer">here</a> for an example. | ||
- `renderer` - an optional custom renderer for rendering lines of code. See <a href="https://github.com/conorhastings/react-syntax-highlighter-virtualized-renderer">here</a> for an example. | ||
- `PreTag` - the element or custom react component to use in place of the default pre tag, the outermost tag of the component (useful for custom renderer not targeting DOM). | ||
@@ -49,0 +49,0 @@ - `CodeTag` - the element or custom react component to use in place of the default code tag, the second tag of the component tree (useful for custom renderer not targeting DOM). |
@@ -25,2 +25,3 @@ import createLanguageAsyncLoader from "./create-language-async-loader" | ||
bbcode: createLanguageAsyncLoader("bbcode", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_bbcode" */ "refractor/lang/bbcode.js")), | ||
birb: createLanguageAsyncLoader("birb", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_birb" */ "refractor/lang/birb.js")), | ||
bison: createLanguageAsyncLoader("bison", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_bison" */ "refractor/lang/bison.js")), | ||
@@ -31,2 +32,3 @@ bnf: createLanguageAsyncLoader("bnf", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_bnf" */ "refractor/lang/bnf.js")), | ||
bro: createLanguageAsyncLoader("bro", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_bro" */ "refractor/lang/bro.js")), | ||
bsl: createLanguageAsyncLoader("bsl", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_bsl" */ "refractor/lang/bsl.js")), | ||
c: createLanguageAsyncLoader("c", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_c" */ "refractor/lang/c.js")), | ||
@@ -132,2 +134,3 @@ cil: createLanguageAsyncLoader("cil", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_cil" */ "refractor/lang/cil.js")), | ||
mizar: createLanguageAsyncLoader("mizar", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_mizar" */ "refractor/lang/mizar.js")), | ||
mongodb: createLanguageAsyncLoader("mongodb", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_mongodb" */ "refractor/lang/mongodb.js")), | ||
monkey: createLanguageAsyncLoader("monkey", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_monkey" */ "refractor/lang/monkey.js")), | ||
@@ -138,2 +141,3 @@ moonscript: createLanguageAsyncLoader("moonscript", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_moonscript" */ "refractor/lang/moonscript.js")), | ||
nand2tetrisHdl: createLanguageAsyncLoader("nand2tetrisHdl", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_nand2tetrisHdl" */ "refractor/lang/nand2tetris-hdl.js")), | ||
naniscript: createLanguageAsyncLoader("naniscript", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_naniscript" */ "refractor/lang/naniscript.js")), | ||
nasm: createLanguageAsyncLoader("nasm", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_nasm" */ "refractor/lang/nasm.js")), | ||
@@ -170,2 +174,3 @@ neon: createLanguageAsyncLoader("neon", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_neon" */ "refractor/lang/neon.js")), | ||
purebasic: createLanguageAsyncLoader("purebasic", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_purebasic" */ "refractor/lang/purebasic.js")), | ||
purescript: createLanguageAsyncLoader("purescript", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_purescript" */ "refractor/lang/purescript.js")), | ||
python: createLanguageAsyncLoader("python", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_python" */ "refractor/lang/python.js")), | ||
@@ -195,2 +200,3 @@ q: createLanguageAsyncLoader("q", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_q" */ "refractor/lang/q.js")), | ||
smarty: createLanguageAsyncLoader("smarty", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_smarty" */ "refractor/lang/smarty.js")), | ||
sml: createLanguageAsyncLoader("sml", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_sml" */ "refractor/lang/sml.js")), | ||
solidity: createLanguageAsyncLoader("solidity", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_solidity" */ "refractor/lang/solidity.js")), | ||
@@ -203,2 +209,3 @@ solutionFile: createLanguageAsyncLoader("solutionFile", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_solutionFile" */ "refractor/lang/solution-file.js")), | ||
sql: createLanguageAsyncLoader("sql", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_sql" */ "refractor/lang/sql.js")), | ||
stan: createLanguageAsyncLoader("stan", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_stan" */ "refractor/lang/stan.js")), | ||
stylus: createLanguageAsyncLoader("stylus", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_stylus" */ "refractor/lang/stylus.js")), | ||
@@ -218,2 +225,3 @@ swift: createLanguageAsyncLoader("swift", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_swift" */ "refractor/lang/swift.js")), | ||
typescript: createLanguageAsyncLoader("typescript", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_typescript" */ "refractor/lang/typescript.js")), | ||
typoscript: createLanguageAsyncLoader("typoscript", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_typoscript" */ "refractor/lang/typoscript.js")), | ||
unrealscript: createLanguageAsyncLoader("unrealscript", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_unrealscript" */ "refractor/lang/unrealscript.js")), | ||
@@ -220,0 +228,0 @@ vala: createLanguageAsyncLoader("vala", () => import(/* webpackChunkName: "react-syntax-highlighter_languages_refractor_vala" */ "refractor/lang/vala.js")), |
@@ -23,2 +23,3 @@ export { default as abap } from './abap'; | ||
export { default as bbcode } from './bbcode'; | ||
export { default as birb } from './birb'; | ||
export { default as bison } from './bison'; | ||
@@ -29,2 +30,3 @@ export { default as bnf } from './bnf'; | ||
export { default as bro } from './bro'; | ||
export { default as bsl } from './bsl'; | ||
export { default as c } from './c'; | ||
@@ -130,2 +132,3 @@ export { default as cil } from './cil'; | ||
export { default as mizar } from './mizar'; | ||
export { default as mongodb } from './mongodb'; | ||
export { default as monkey } from './monkey'; | ||
@@ -136,2 +139,3 @@ export { default as moonscript } from './moonscript'; | ||
export { default as nand2tetrisHdl } from './nand2tetris-hdl'; | ||
export { default as naniscript } from './naniscript'; | ||
export { default as nasm } from './nasm'; | ||
@@ -168,2 +172,3 @@ export { default as neon } from './neon'; | ||
export { default as purebasic } from './purebasic'; | ||
export { default as purescript } from './purescript'; | ||
export { default as python } from './python'; | ||
@@ -193,2 +198,3 @@ export { default as q } from './q'; | ||
export { default as smarty } from './smarty'; | ||
export { default as sml } from './sml'; | ||
export { default as solidity } from './solidity'; | ||
@@ -201,2 +207,3 @@ export { default as solutionFile } from './solution-file'; | ||
export { default as sql } from './sql'; | ||
export { default as stan } from './stan'; | ||
export { default as stylus } from './stylus'; | ||
@@ -216,2 +223,3 @@ export { default as swift } from './swift'; | ||
export { default as typescript } from './typescript'; | ||
export { default as typoscript } from './typoscript'; | ||
export { default as unrealscript } from './unrealscript'; | ||
@@ -218,0 +226,0 @@ export { default as vala } from './vala'; |
@@ -28,2 +28,3 @@ // | ||
'bbcode', | ||
'birb', | ||
'bison', | ||
@@ -34,2 +35,3 @@ 'bnf', | ||
'bro', | ||
'bsl', | ||
'c', | ||
@@ -135,2 +137,3 @@ 'cil', | ||
'mizar', | ||
'mongodb', | ||
'monkey', | ||
@@ -141,2 +144,3 @@ 'moonscript', | ||
'nand2tetris-hdl', | ||
'naniscript', | ||
'nasm', | ||
@@ -173,2 +177,3 @@ 'neon', | ||
'purebasic', | ||
'purescript', | ||
'python', | ||
@@ -198,2 +203,3 @@ 'q', | ||
'smarty', | ||
'sml', | ||
'solidity', | ||
@@ -206,2 +212,3 @@ 'solution-file', | ||
'sql', | ||
'stan', | ||
'stylus', | ||
@@ -221,2 +228,3 @@ 'swift', | ||
'typescript', | ||
'typoscript', | ||
'unrealscript', | ||
@@ -223,0 +231,0 @@ 'vala', |
@@ -0,1 +1,9 @@ | ||
export { default as coy } from './coy'; | ||
export { default as dark } from './dark'; | ||
export { default as funky } from './funky'; | ||
export { default as okaidia } from './okaidia'; | ||
export { default as solarizedlight } from './solarizedlight'; | ||
export { default as tomorrow } from './tomorrow'; | ||
export { default as twilight } from './twilight'; | ||
export { default as prism } from './prism'; | ||
export { default as a11yDark } from './a11y-dark'; | ||
@@ -5,2 +13,5 @@ export { default as atomDark } from './atom-dark'; | ||
export { default as cb } from './cb'; | ||
export { default as coldarkCold } from './coldark-cold'; | ||
export { default as coldarkDark } from './coldark-dark'; | ||
export { default as coyWithoutShadows } from './coy-without-shadows'; | ||
export { default as darcula } from './darcula'; | ||
@@ -26,9 +37,1 @@ export { default as dracula } from './dracula'; | ||
export { default as xonokai } from './xonokai'; | ||
export { default as coy } from './coy'; | ||
export { default as dark } from './dark'; | ||
export { default as funky } from './funky'; | ||
export { default as okaidia } from './okaidia'; | ||
export { default as solarizedlight } from './solarizedlight'; | ||
export { default as tomorrow } from './tomorrow'; | ||
export { default as twilight } from './twilight'; | ||
export { default as prism } from './prism'; |
@@ -108,3 +108,3 @@ export default { | ||
}, | ||
"deleted": { | ||
"inserted": { | ||
"color": "#b5cea8" | ||
@@ -130,3 +130,3 @@ }, | ||
}, | ||
"inserted": { | ||
"deleted": { | ||
"color": "#ce9178" | ||
@@ -133,0 +133,0 @@ }, |
1810358
1760
70459
Updatedprismjs@^1.22.0
Updatedrefractor@^3.2.0