Skip to content

Allow columns to have the same font size #97

Open
@vlsi

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>

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