Templates
This is an example template for PDF generation. You can create any React component and place it in the templates folder, and it will automatically appear in the sidebar.
Create a new .tsx file in src/templates/This template uses the PDF components from the pdf-components folder:
A4 - Document container with A4 formatPage - Individual page componentBodyArea - Content area with marginsTitle - Heading with automatic TOC registrationPageNumber - Automatic page numbering