renderArticles ({ articles, writeOutput = false, resolveLinks = false }) {
    for (const filename in articles) {
      const article = articles[filename];
      let content = parseMd(article.source);

      if (resolveLinks) {
        content = templateHelper.resolveLinks(content);
      }

      article.content = content;

      if (writeOutput) {
        const writePath = path.join(dest, article.outfilename);

        mkdirp(path.dirname(writePath));
        fs.writeFileSync(writePath, article.content);
      }
    }
  }
/**
   * ```js
   * renderArticles{ articles: [], writeOutput: true, resolveLinks: true });
   * ```
   *
   * Render article markdown and optionally resolve
   * links and write output
   */


Render article markdown and optionally resolve
links and write output
Render article markdown and optionally resolve links and write output
renderArticles ({ articles, writeOutput = false, resolveLinks = false }) {
    for (const filename in articles) {
      const article = articles[filename];
      let content = parseMd(article.source);
      if (resolveLinks) {
        content = templateHelper.resolveLinks(content);
      }
      article.content = content;
      if (writeOutput) {
        const writePath = path.join(dest, article.outfilename);
        mkdirp(path.dirname(writePath));
        fs.writeFileSync(writePath, article.content);
      }
    }
  }
renderArticles ( { articles , writeOutput = false , resolveLinks = false } ) { for ( const filename in articles ) { const article = articles [ filename ] ; let content = parseMd ( article . source ) ; if ( resolveLinks ) { content = templateHelper . resolveLinks ( content ) ; } article . content = content ; if ( writeOutput ) { const writePath = path . join ( dest , article . outfilename ) ; mkdirp ( path . dirname ( writePath ) ) ; fs . writeFileSync ( writePath , article . content ) ; } } }
```js
 renderArticles{ articles: [], writeOutput: true, resolveLinks: true });
 ```
` ` ` js renderArticles { articles : [] writeOutput : true resolveLinks : true } ) ; ` ` `