code: function runSpanGamut(text) {
  
          text = doCodeSpans(text);
          text = escapeSpecialCharsWithinTagAttributes(text);
          text = encodeBackslashEscapes(text);
  
          text = doImages(text);
          text = doAnchors(text);
  
          text = doAutoLinks(text);
          text = encodeAmpsAndAngles(text);
          text = doItalicsAndBold(text);
  
          text = text.replace(/  +\n/g," <br />\n");
  
          return text;
      }
docs: }}} {{{ runSpanGamut