mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-08 16:57:14 +01:00
feat: Add Markdown to PDF conversion functionality (#59)
* feat: Add Markdown to PDF conversion functionality - Implement dual-panel interface with live preview - Support 3 Markdown flavors: GitHub, CommonMark, Pandoc - Add file upload support for .md files - Implement image quality settings (High/Medium/Low) - Add professional user messaging and error handling - Support all common Markdown elements (headers, lists, tables, code blocks, etc.) - Add automatic navigation back to tool after completion Resolves #37 * fix: improve markdown to PDF conversion with math support and better rendering - Add KaTeX support for mathematical expressions (inline and block math) - Fix horizontal separator rendering with improved CSS - Enhance table rendering with proper borders and cell styling - Replace CDN dependencies with local KaTeX installation - Add comprehensive math preprocessing for $...$ and 20112...20112 syntax - Improve markdown preview with real-time math rendering - Update UI placeholder text with math examples - Add fallback rendering for math expressions when KaTeX fails Resolves issues with: - Horizontal separators not rendering properly - Tables missing borders and proper structure - Mathematical expressions not displaying correctly --------- Co-authored-by: syazkun <mohamadsyazwan193@gmail.com>
This commit is contained in:
1 parent
a8c3f9ffdd
commit
5db93f9fa0
8 files changed
+662
-154
No files matched your search
+3
-1
@@ -48,7 +48,9 @@
|
||||
"javascript-obfuscator": "^4.1.1",
|
||||
"jspdf": "^3.0.3",
|
||||
"jszip": "^3.10.1",
|
||||
"lucide": "^0.546.0",
|
||||
"katex": "^0.16.25",
|
||||
"lucide": "^0.545.0",
|
||||
"marked": "^16.4.1",
|
||||
"pdf-lib": "^1.17.1",
|
||||
"pdfjs-dist": "^5.4.296",
|
||||
"pdfkit": "^0.17.2",
|
||||
|
||||
Reference in new issue
Block a user