summaryrefslogtreecommitdiff
path: root/spec2md.pl
diff options
context:
space:
mode:
Diffstat (limited to 'spec2md.pl')
-rw-r--r--spec2md.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec2md.pl b/spec2md.pl
index 1b4f26e..1426095 100644
--- a/spec2md.pl
+++ b/spec2md.pl
@@ -12,7 +12,7 @@ while (<STDIN>) {
if ($stage == 0) {
$example++;
print "\n<div class=\"example\" id=\"example-$example\" data-section=\"$section\">\n";
- print "<div class=\"examplenum\">Example $example</div>\n\n";
+ print "<div class=\"examplenum\"><a href=\"#example-$example\">Example $example</a></div>\n\n";
print "````````````````````````````````````````````````````````` markdown\n";
} elsif ($stage == 1) {
print "`````````````````````````````````````````````````````````\n\n";