Skip to content

Commit 4111892

Browse files
committed
feat: link examples
1 parent ae0ebba commit 4111892

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

public/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ <h1>octokit.rest</h1>
1515
<input type="text" name="query" autofocus />
1616
</label>
1717
<button type="submit">Go</button>
18-
<p>Example:<br /><code>GET /user</code></p>
18+
<p>
19+
Examples:<br />
20+
<a href="/search?query=GET /user"><code>GET /user</code></a
21+
>,
22+
<a href="/search?query=/repos/{owner}/{repo}"
23+
><code>/repos/{owner}/{repo}</code></a
24+
>,
25+
<a href="/search?query=label"><code>label</code></a>
26+
</p>
1927
</form>
2028
</body>
2129
</html>

0 commit comments

Comments
 (0)