Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Wed, November 25, 2020

In short, don't execute thousands of Promises at once. Please either,

  • Do in batch
  • Keep space between ones

And this applies not only to JavaScript, but also anything that are parallel, or parallel-like in nature, including Threads.

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Tue, November 3, 2020

Let me say this first, the best way to create PDF from markdown is via web technology (Chrome / Puppeteer), because it is the closest to WSYIWYG (What You See Is What You Get), but it is not perfect.

It currently misses at least one PDF specific features (and possibly more) - Table of Contents / Bookmarks.

feature request: add option to generate TOC for pdf output · Issue #1778 · puppeteer/puppeteer

Since now headers and footers with page numbers work, I now desperately miss an option to generate a Table of Contents (TOC) out of the h1- h7 headers when generating a pdf file (i.e like wkhtmltop…

And one of the best tools to create PDF is Visual Studio Code, if you know how to use Markdown Preview Enhanced properly. (I've just noticed that I can use this in Atom as well.)

shd101wyy/markdown-preview-enhanced

One of the 'BEST' markdown preview extensions for Atom editor! - shd101wyy/markdown-preview-enhanced