ETC
HTML에 GitHub Contribution Calendar 삽입하는 방법.
Jeaha
2019. 11. 10. 01:19
# HTML에 GitHub Contribution Calendar 삽입하는 방법.
<!-- Prepare a container for your calendar. -->
<script src="https://cdn.rawgit.com/IonicaBizau/github-calendar/gh-pages/dist/github-calendar.min.js"></script>
<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) -->
<link rel="stylesheet" href="https://cdn.rawgit.com/IonicaBizau/github-calendar/gh-pages/dist/github-calendar.css"/>
<!-- Prepare a container for your calendar. -->
<div class="calendar">
<!-- Loading stuff -->
Loading the data just for you.
</div>
<script>
new GitHubCalendar(".calendar", "your-username");
</script>
이 소스코드에서 `"your-usernamne"`부분에 github 이름을 넣어준다.
결과는 내 블로그 하단에...
728x90
반응형