-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-page.html
More file actions
52 lines (43 loc) · 2.23 KB
/
test-page.html
File metadata and controls
52 lines (43 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>git-code-embed テストページ</title>
<style>
body { font-family: sans-serif; max-width: 800px; margin: 40px auto; padding: 0 20px; }
h2 { margin-top: 2em; }
</style>
</head>
<body>
<h1>git-code-embed テストページ</h1>
<h2>行指定なし(全体表示)</h2>
<a href="https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go">
https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go
</a>
<h2>行範囲指定(L1-L15)</h2>
<a href="https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go#L1-L15">
https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go#L1-L15
</a>
<h2>単一行指定(L5)</h2>
<a href="https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go#L5">
https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go#L5
</a>
<h2>バイナリファイル(画像)</h2>
<a href="https://github.com/golang/go/blob/33d725e5758bf1fea62e6c77fc70b57a828a49f5/src/archive/zip/testdata/comment-truncated.zip">
https://github.com/golang/go/blob/33d725e5758bf1fea62e6c77fc70b57a828a49f5/src/archive/zip/testdata/comment-truncated.zip
</a>
<h2>通常のリンク(変換されない)</h2>
<a href="https://example.com">example.com</a>
<h2>文中のインラインリンク(変換されない)</h2>
<p>詳細は<a href="https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go">このファイル</a>を参照してください。</p>
<h2>前後にテキストのある GitHub リンク(変換されない)</h2>
<p>See <a href="https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go#L1-L15">src/fmt/print.go#L1-L15</a> for the implementation.</p>
<h2>同一行に複数 GitHub リンク(どちらも変換されない)</h2>
<p>
<a href="https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/print.go">print.go</a>
<a href="https://github.com/golang/go/blob/release-branch.go1.26/src/fmt/doc.go">doc.go</a>
</p>
<script src="dist/git-code-embed.min.js"></script>
</body>
</html>