Skip to content

Commit 26dc9b7

Browse files
committed
Add link back to autolinker in example
1 parent 501aee9 commit 26dc9b7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

examples/live-example/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
<body>
1515

1616
<div class="container">
17-
<h1>Autolinker <small>v<script>document.write( Autolinker.version );</script> - Live Example</small></h1>
17+
<h1>
18+
<a class="title-link" href="https://github.com/gregjacobs/Autolinker.js" target="_top">Autolinker</a>
19+
<small>v<script>document.write( Autolinker.version );</script> - Live Example</small>
20+
</h1>
1821

1922
Type text on the left and see the output on the right. For full
2023
match/options reference, see the

examples/live-example/live-example.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ body {
1818

1919
.textfield { line-height: 0; }
2020

21+
22+
.title-link { color: #333; }
23+
.title-link:focus, .title-link:hover { color: #333; text-decoration: underline; }
24+
2125
.code-sample { width: 100%; height: 265px; overflow: auto; font: 14px "Courier New"; }
2226

2327
.code-box { width: 100%; height: 300px; border: 1px solid #CCC; padding: 2px; word-wrap: break-word; overflow-y: auto; font: 14px/20px 'Helvetica Neue', Helvetica, Arial, sans-serif; }

0 commit comments

Comments
 (0)