mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
make 'names' accept only an array of strings, add warning comments about where new functions should be added
This commit is contained in:
committed by
Kevin Barabash
parent
6db61cb219
commit
12399da73d
@@ -8,7 +8,7 @@ import * as mml from "../buildMathML";
|
||||
|
||||
defineFunction({
|
||||
type: "phantom",
|
||||
names: "\\phantom",
|
||||
names: ["\\phantom"],
|
||||
props: {
|
||||
numArgs: 1,
|
||||
},
|
||||
@@ -38,7 +38,7 @@ defineFunction({
|
||||
|
||||
defineFunction({
|
||||
type: "hphantom",
|
||||
names: "\\hphantom",
|
||||
names: ["\\hphantom"],
|
||||
props: {
|
||||
numArgs: 1,
|
||||
},
|
||||
@@ -79,7 +79,7 @@ defineFunction({
|
||||
|
||||
defineFunction({
|
||||
type: "vphantom",
|
||||
names: "\\vphantom",
|
||||
names: ["\\vphantom"],
|
||||
props: {
|
||||
numArgs: 1,
|
||||
},
|
||||
|
Reference in New Issue
Block a user