Are there any way/proposal around string styling s...
# stdlib
x
Are there any way/proposal around string styling syntax, so that
Copy code
we can <u>underline</u>,<b>bold</b> or <i>hyphenate</i>
in
commonMain
?
n
fun String.u() = "<u>$this</u>"
fun String.b() = "<b>$this</b>"
fun String.i() = "<i>$this</i>"
"we can ${"underline".u()},${"bold".b()} or ${"hyphenate".i()}"