code: function parseLinks(fragment) {
      if (!fragment || !fragment._txt) return;
      var links = [];
      var renderer = generator.renderer;
      var oldLinkFn = renderer.link;
      renderer.link = function(href, title, text) {
        links.push( { href:href, title:title, text:text } );
        return ''; // don't care about actual rendered result
      };
      marked(fragment._txt, {renderer:renderer});
      renderer.link = oldLinkFn; // revert
      return links;
    }
docs: parse links from fragment text as a side effect of rendering with marked returns an array of {href,title,text} (not fully qualified) usable for lookups in page$