Template document model with table, image

⚓ Rust    📅 2025-06-23    👤 surdeus    👁️ 6      

surdeus

Warning

This post was published 50 days ago. The information described in this article may have changed.

Hi,

I have to migrate an old system of document gereration.

I have to create a template document, then inject data to generate one pdf file with specified data.

I was thinking to many ways :

  • use html table, image, and text... and generate a pdf... but warning about size as a A4 format...
  • json model and after pdf generation (but to say exactly where is image... ?)
  • latex, markdown, typst or others best format maybe (which one ?)... that can be generated in pdf after...

Have you some advice about best format or crate to use...
I discover : markdown2pdf (but I wonder if it is the best way to manage document) or wkhtmltopdf but it seems to be not safe...

4 posts - 2 participants

Read full topic

🏷️ rust_feed