code: function toGithubHash(title) {
    var GITHUB_ILLEGAL = new RegExp('[\\[\\]{}()<>^$#@!%&*+\/\\|~`"\':;,.]', 'g');
    return title.toLowerCase().replace(/ /g, '-').replace(GITHUB_ILLEGAL, '');
  }
docs: Algorithm of generating a HTML label used in Github Markdown