We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab34ed9 commit 905f834Copy full SHA for 905f834
docs/index.markdown
@@ -19,6 +19,7 @@ Subset of Java/Groovy syntax with a touch of Perl mixed in.
19
<div class="column" markdown="1">
20
### **Compiles to Java Bytecode**
21
Compiles to bytecode for fast execution times.
22
+Supports Java 8 (and later).
23
</div>
24
25
@@ -100,7 +101,7 @@ def linkify = { s/ /-/g; s/[^\w-]//g }
100
101
102
// Find all top level headings in input and generate markdown for table of contents:
103
stream(nextLine).filter{ /^# /r }
- .map{ s/# // }
104
+ .map{ $1 if /^# (.*)/r }
105
.map{ "* [$it](#${ linkify(it.toLowerCase()) })" }
106
.each{ println it }
107
```
0 commit comments