typstfmt
typstfmt copied to clipboard
if then else on one line
Hi, if I do something like
if row in (0, 1) {
myred
}
else if calc.odd(row) { myblue }
else { none },
tysptfmt makes something like
if row in (0, 1) { myred } else if calc.odd(row) { myblue } else { none },
out of it, ie puts it into a single (long) line, which I find difficult to read