mirror of
https://github.com/PaddiM8/kalker.git
synced 2025-03-01 14:51:13 +01:00
Kalk_web highlighting for output
This commit is contained in:
parent
433750f85f
commit
b5138a4f7f
@ -57,7 +57,7 @@
|
|||||||
} else {
|
} else {
|
||||||
const [result, err] = calculate(kalk, input);
|
const [result, err] = calculate(kalk, input);
|
||||||
output =
|
output =
|
||||||
result ??
|
highlight(result)[0] ??
|
||||||
`<span style="color: ${errorColor}">${err}</span>`;
|
`<span style="color: ${errorColor}">${err}</span>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user