main
Last change
on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
641 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | (function (Prism) {
|
---|
| 2 | /**
|
---|
| 3 | * Based on the manual by Wouter van Oortmerssen.
|
---|
| 4 | *
|
---|
| 5 | * @see {@link https://github.com/PrismJS/prism/issues/2801#issue-829717504}
|
---|
| 6 | */
|
---|
| 7 | Prism.languages['false'] = {
|
---|
| 8 | 'comment': {
|
---|
| 9 | pattern: /\{[^}]*\}/
|
---|
| 10 | },
|
---|
| 11 | 'string': {
|
---|
| 12 | pattern: /"[^"]*"/,
|
---|
| 13 | greedy: true
|
---|
| 14 | },
|
---|
| 15 | 'character-code': {
|
---|
| 16 | pattern: /'(?:[^\r]|\r\n?)/,
|
---|
| 17 | alias: 'number'
|
---|
| 18 | },
|
---|
| 19 | 'assembler-code': {
|
---|
| 20 | pattern: /\d+`/,
|
---|
| 21 | alias: 'important'
|
---|
| 22 | },
|
---|
| 23 | 'number': /\d+/,
|
---|
| 24 | 'operator': /[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,
|
---|
| 25 | 'punctuation': /\[|\]/,
|
---|
| 26 | 'variable': /[a-z]/,
|
---|
| 27 | 'non-standard': {
|
---|
| 28 | pattern: /[()<BDO®]/,
|
---|
| 29 | alias: 'bold'
|
---|
| 30 | }
|
---|
| 31 | };
|
---|
| 32 | }(Prism));
|
---|
Note:
See
TracBrowser
for help on using the repository browser.