Cover image for julia

Yulia Tatarnikova Verified userVerified user

Technical writer


PDF Generator Template

June 13, 2024
ยท 0


  • Create PDF "on the fly"
  • Learn how to use pdfkit programmatically
  • Parse markdown tags
  • Add Edit Field into the document - perfect for the PDF forms generation

This template uses pdfkit library to generate custom PDF files and provide pre-configured UI components for adjusting page margins. Marked.js library allows for parsing simple markdown tags when users provide custom text. Feel free to play around and explore the JS code!