johnfercher / maroto

A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
https://maroto.io
MIT License
1.5k stars 173 forks source link

Text/Template to PDF conversion #166

Open dhirajgidde opened 3 years ago

dhirajgidde commented 3 years ago

Hi,

I have looked many packages in go-lang, but non of these packages provided to convert Text/Template into the PDF. If possible can you please add this as a new feature. It will help us to generate a dynamic PDF.

Thanks,

johnfercher commented 3 years ago

This feature would be awesome, but I think it will not be easy.

pka420 commented 7 months ago

My teacher asked to get the screenshots of output as pdfs, I don't like vscode so I made a library using this library in golang:

https://github.com/pka420/txt2pdf

I think its a proof of concept for this issue. Let me if this is something you are looking for @dhirajgidde Too late :)