This could be your HTML

A personal project I’m currently working on involves turning a styled HTML node tree into a printable PDF asset on client side.

I spent a long time searching for the definitive solution and went through a lot of hardships.

I will share with you my solution, which I believe is very easy to use, and I’ll go about pros / cons of other approaches.

It will take only two minutes of implementation.