code: function(text) {
  
              urls = [];
              titles = [];
              htmlBlock = [];
  
              text = text.replace(/~/g,"~T");
              text = text.replace(/\$/g,"~D");
              text = text.replace(/\r\n/g,"\n");
              text = text.replace(/\r/g,"\n");
              text = "\n\n" + text + "\n\n";
              text = detab(text);
              text = text.replace(/^[ \t]+$/mg,"");
              text = hashHTMLBlocks(text);
              text = stripLinkDefinitions(text);
              text = runBlockGamut(text);
              text = unescapeSpecialChars(text);
              text = text.replace(/~D/g,"$$");
              text = text.replace(/~T/g,"~");
  
              return text;
          }
docs: {{{ parse 
  @method parse