Locally add prismjs
This commit is contained in:
parent
35af792c6a
commit
6aa044cf9b
701 changed files with 35787 additions and 0 deletions
9
node_modules/prismjs/components/prism-nand2tetris-hdl.js
generated
vendored
Normal file
9
node_modules/prismjs/components/prism-nand2tetris-hdl.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
Prism.languages['nand2tetris-hdl'] = {
|
||||
'comment': /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
|
||||
'keyword': /\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,
|
||||
'boolean': /\b(?:false|true)\b/,
|
||||
'function': /\b[A-Za-z][A-Za-z0-9]*(?=\()/,
|
||||
'number': /\b\d+\b/,
|
||||
'operator': /=|\.\./,
|
||||
'punctuation': /[{}[\];(),:]/
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue