Skip to content

Commit ef8487b

Browse files
committed
fix syntax highlighting
1 parent bb2e4eb commit ef8487b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def toMap(person: Person) = Map(
3232
nameOf(person.age) -> person.age
3333
)
3434
```
35-
``` mdoc:nest
35+
```scala mdoc:nest
3636
// compiles to:
3737

3838
def toMap(person: Person) = Map(
@@ -47,7 +47,7 @@ def startCalculation(value: Int): Unit = {
4747
println("Entered " + nameOf(startCalculation _))
4848
}
4949
```
50-
``` mdoc:nest
50+
```scala mdoc:nest
5151
// compiles to:
5252

5353
def startCalculation(value: Int): Unit = {
@@ -64,7 +64,7 @@ case class Person(name: String, age: Int) {
6464
println(nameOf[Person](_.age))
6565
println(nameOf[Person](_.sayHello(???)))
6666
```
67-
``` mdoc:nest
67+
```scala mdoc:nest
6868
// compiles to:
6969

7070
println("age")
@@ -75,7 +75,7 @@ You can also use `nameOfType` to get the unqualified name of a type:
7575
```scala mdoc:nest
7676
println(nameOfType[java.lang.String])
7777
```
78-
``` mdoc:nest
78+
```scala mdoc:nest
7979
// compiles to:
8080

8181
println("String")
@@ -85,7 +85,7 @@ And `qualifiedNameOfType` to get the qualified name:
8585
```scala mdoc:nest
8686
println(qualifiedNameOfType[java.lang.String])
8787
```
88-
``` mdoc:nest
88+
```scala mdoc:nest
8989
// compiles to:
9090

9191
println("java.lang.String")

0 commit comments

Comments
 (0)