Skip to content

Commit bd7b5f6

Browse files
committed
ユーザー名のリンク化に対応 (close #3)
1 parent 6652fe4 commit bd7b5f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stats_contribution.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def stats_contribution(text: str, filename: str) -> set[str]:
4545
for line in text.split("\n"):
4646
m = re.fullmatch(r'## (.*?)', line)
4747
if m:
48+
m = re.fullmatch(r'\[(.*?)\]\((.*?)\)', m.group(1))
4849
user_name = m.group(1)
4950
user_point = 0
5051
continue

0 commit comments

Comments
 (0)