Skip to content

Commit 905f834

Browse files
committed
#33: Documentation updates
1 parent ab34ed9 commit 905f834

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/index.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Subset of Java/Groovy syntax with a touch of Perl mixed in.
1919
<div class="column" markdown="1">
2020
### **Compiles to Java Bytecode**
2121
Compiles to bytecode for fast execution times.
22+
Supports Java 8 (and later).
2223
</div>
2324
</div>
2425

@@ -100,7 +101,7 @@ def linkify = { s/ /-/g; s/[^\w-]//g }
100101
101102
// Find all top level headings in input and generate markdown for table of contents:
102103
stream(nextLine).filter{ /^# /r }
103-
.map{ s/# // }
104+
.map{ $1 if /^# (.*)/r }
104105
.map{ "* [$it](#${ linkify(it.toLowerCase()) })" }
105106
.each{ println it }
106107
```

0 commit comments

Comments
 (0)