muu with zero state
This commit is contained in:
@ -160,9 +160,15 @@ function genTables() {
|
||||
i++
|
||||
break
|
||||
|
||||
case '\\':
|
||||
value += gen[i + 1]
|
||||
i += 2
|
||||
break
|
||||
|
||||
case '$':
|
||||
const args_end = gen.indexOf('$', i + 1)
|
||||
const args = gen.slice(i + 1, args_end).split(',')
|
||||
|
||||
switch (args[0]) {
|
||||
case 'C':
|
||||
dot.colSpan = +args[1]
|
||||
@ -177,6 +183,7 @@ function genTables() {
|
||||
'r': 'lightcoral',
|
||||
'g': 'lightgreen',
|
||||
'b': 'lightblue',
|
||||
'B': 'black',
|
||||
}[args[1]] ?? 'white'
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user