📄 js.js
字号:
Lighter.addLanguage({
language:"js",
delimiter:",(){}[]-+*%/=\"'~!&|<>?:;.#",
quotation1:"\'",
quotation2:"\"",
continue_quote:"n",
linecomment:"//",
commenton:"/*",
commentoff:"*/",
escape:"\\",
objectColor:"#ff0000",
lineNumberColor:"#006600",
lineNumberSepColor:"#006600",
reservedWordColor:"#0000ff",
normalWordColor:"#000000",
delimiterColor:"#000000",
propertyColor:"#008684",
methodColor:"#a52a2a",
stringColor:"#ff00ff",
baseColor:"#000000",
commentColor:"#006600",
reservedWords:["escape","eval","$","@if","@set","abstract","boolean","break","byte","case","catch","char","class",
"const","continue","debugger","default","delete","do","double","else","enum","export","extends","false",
"final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface",
"long","native","new","null","package","private","protected","public","return","short","static","super","switch",
"synchronized","taint","this","throw","throws","transient","true","try","typeof","undefined","untaint","var","void","volatile","while","with"],
objects:[],
properties:[],
methods:[]
});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -