aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Nilsson <[email protected]>2011-11-26 11:03:52 +0100
committerJohan Nilsson <[email protected]>2011-11-26 11:03:52 +0100
commitba35b2a5b49dc938ccf49cd401da564f6cb1f981 (patch)
treec01e3402d522be62226afb09c4cb49e1ed9a74ce
parent0bede6f6e20a9287d7625cf2b36046dc84f5cf72 (diff)
Fix code example.
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index e02f991..4e501f8 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,10 @@
JavaScript widget to include on your site that shows and links to your last commit on GitHub.
- <span class="lastcommit-widget" data-user="your github username"></span>
- <script src="http://johannilsson.github.com/lastcommit/widget.js"></script>
+``` html
+<span class="lastcommit-widget" data-user="your github username"></span>
+<script src="http://johannilsson.github.com/lastcommit/widget.js"></script>
+```
* It's not smart enough to filter out commits by others in a repository.
* Does not work properly on commits in branches.