u-ryo's blog

various information for coding...

Post Sample With Code

| Comments

Example with line numbers:

Code:

```groovy HelloWorld.groovy
println "Hello, world!"
```

Result:

HelloWorld.groovy
1
println "Hello, world!"

Example without line numbers:

Code:

```groovy:nl HelloWorld.groovy
println "Hello, world!"
```

Result:

HelloWorld.groovy
println "Hello, world!"

Comments