mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
Add some more symbols to appropriate categories
Auditors: spicyj
This commit is contained in:
4
lexer.js
4
lexer.js
@@ -2,7 +2,7 @@ function Lexer() {
|
||||
};
|
||||
|
||||
var normals = [
|
||||
[/^[/|0-9.]+/, 'TEXTORD'],
|
||||
[/^[/|@."`0-9]+/, 'TEXTORD'],
|
||||
[/^[a-zA-Z]+/, 'MATHORD'],
|
||||
[/^[*+-]/, 'BIN'],
|
||||
[/^[=<>]/, 'REL'],
|
||||
@@ -12,7 +12,7 @@ var normals = [
|
||||
[/^{/, '{'],
|
||||
[/^}/, '}'],
|
||||
[/^[(\[]/, 'OPEN'],
|
||||
[/^[)\]]/, 'CLOSE']
|
||||
[/^[)\]?!]/, 'CLOSE']
|
||||
];
|
||||
|
||||
var funcs = [
|
||||
|
Reference in New Issue
Block a user