Open itsmattking opened 3 weeks ago
I can see at least two options:
\n
into \\&
behind the scenes, as part of the build()
function perhaps.
trimIndent()
.\n
means something useful to the printer, we'd need a workaround to support it.ZplBuilder.appendLine()
, à la https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/append-line.html#appendline.
Create an extension function of
String
perhaps?