ble("href");
if (!href) href = "index"

String.prototype.endsWith = function(suffix) {
  return this.indexOf(suffix, this.length - suffix.length) !== -1;
};

if (href.endsWith("/"))
    href = href.substring(0, href.length-1);
if (href.indexOf(".") == -1)
    href = "library/" + href + ".md";
$("#raw").attr("href","http://raw.github.com/biometrics/likely/gh-pages/"+href);

marked.setOptions({
  gfm: true,
  tables: true,
  breaks: false,
  pedantic: false,
  sanitize: false,
  smartLists: true,
  smartypant