🗃️(backend) export to docx

We can now export our document to a docx file.
This is done by converting the html to a docx
file using the pypandoc and pandoc library.
We added the "format" param to the
generate-document endpoint, "format" accept
"pdf" or "docx" as value.
This commit is contained in:
Anthony LC
2024-08-07 14:44:18 +02:00
committed by Anthony LC
parent ffaccad014
commit 4280f0779e
10 changed files with 147 additions and 32 deletions

View File

@@ -49,6 +49,7 @@ dependencies = [
"nested-multipart-parser==1.5.0",
"psycopg[binary]==3.1.14",
"PyJWT==2.8.0",
"pypandoc==1.13",
"python-frontmatter==1.0.1",
"requests==2.32.2",
"sentry-sdk==2.8.0",