Permalink
Browse files

Fix badge Markdown example

  • Loading branch information...
1 parent 272ba4e commit ca2862caa6ed5e732bfdd51019d14a8a80d92766 @gaborcsardi gaborcsardi committed Apr 30, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 views/index.html
View
@@ -18,7 +18,7 @@
function update1() {
var pkg = document.getElementById("package").value;
var url = "http://cranlogs.r-pkg.org/badges/" + pkg;
- var md = "[![Build Status](http://cranlogs.r-pkg.org/badges/" +
+ var md = "[![](http://cranlogs.r-pkg.org/badges/" +
pkg + ")](http://cran.rstudio.com/web/packages/" +
pkg + "/index.html)";
document.getElementById("url").value = url;
@@ -56,7 +56,7 @@
value="http://cranlogs.r-pkg.org/badges/ggplot2" id="url">
<label for="markdown">MarkDown</label>
<textarea class="u-full-width" id="markdown" readonly="readonly">
-[![Build Status](http://cranlogs.r-pkg.org/badges/ggplot2)](http://cran.rstudio.com/web/packages/ggplot2/index.html)
+[![](http://cranlogs.r-pkg.org/badges/ggplot2)](http://cran.rstudio.com/web/packages/ggplot2/index.html)
</textarea>
</form>

0 comments on commit ca2862c

Please sign in to comment.