feat: ajouté support markdown dans export PDF

- Parser markdown avec marked pour rendu HTML complet
- Styles CSS pour éléments markdown (headings, listes, code, etc.)
- Nettoyage automatique des styles temporaires
- Fallback texte brut si parsing markdown échoue
This commit is contained in:
2025-07-23 20:35:41 +04:00
parent 19941839a6
commit 55b41a906b
3 changed files with 119 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@
"date-fns": "^3.6.0",
"html2canvas": "^1.4.1",
"jspdf": "^3.0.1",
"marked": "^16.1.1",
"next": "^14.2.3",
"next-auth": "^5.0.0-beta.18",
"react": "^18.3.1",