function inlineLinks (text, options) {

  if (text) {
    const links = ddata.parseLink(text);
    links.forEach(function (link) {
      const linked = ddata._link(link.url, options);
      if (link.caption === link.url) link.caption = linked.name;
      if (linked.url) link.url = linked.url;
      text = text.replace(link.original, `[${link.caption}](${link.url})`);
    });
  }

  return text;

}
Replaces JSDoc {@link} tags with markdown links in the supplied text