code-surfer
code-surfer copied to clipboard
Allow columns to have the same font size
The following produces columns with different font sizes. It would be nice to be able to use the same font size.
So far I add trailing whitespace to make the longest lines have the same length.
<CodeSurferColumns>
<Step>
```kotlin
val helloWorld = "Hello world"
val world = "world"
@Benchmark
fun junit4() {
Assert.assertTrue(
"$helloWorld should contain $world",
helloWorld.contains(world)
)
}
```
```kotlin
val helloWorld = "Hello world"
val world = "world"
@Benchmark
fun junit5() {
Assertions.assertTrue(helloWorld.contains(world)) {
"$helloWorld should contain $world"
}
}
```
</Step>
</CodeSurferColumns>