Skip to content

Allow columns to have the same font sizeΒ #97

Description

@vlsi

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions