mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Fixed 'Syntax highlighter' operation. Using highlight.js instead of google-code-prettify.
This commit is contained in:
parent
2b703b2b9b
commit
e55cfe0bc1
6 changed files with 18 additions and 26 deletions
|
@ -3462,15 +3462,10 @@ const OperationConfig = {
|
|||
outputType: "html",
|
||||
args: [
|
||||
{
|
||||
name: "Language/File extension",
|
||||
name: "Language",
|
||||
type: "option",
|
||||
value: Code.LANGUAGES
|
||||
},
|
||||
{
|
||||
name: "Display line numbers",
|
||||
type: "boolean",
|
||||
value: Code.LINE_NUMS
|
||||
}
|
||||
]
|
||||
},
|
||||
"TCP/IP Checksum": {
|
||||
|
|
|
@ -11,7 +11,7 @@ import Code from "../../operations/Code.js";
|
|||
* - xmldom
|
||||
* - xpath
|
||||
* - jpath
|
||||
* - googlecodeprettify
|
||||
* - highlight.js
|
||||
*
|
||||
* @author n1474335 [n1474335@gmail.com]
|
||||
* @copyright Crown Copyright 2017
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue