feat: add JSON to PDF and PDF to JSON conversion tools
- Introduced new pages and logic for converting JSON files to PDF and vice versa. - Implemented web workers for handling conversion processes in the background. - Updated Vite configuration to include new HTML pages for the conversion tools. - Enhanced user interface with file upload sections and status messages for conversion progress. - Added TypeScript definitions for worker communication and response handling.
This commit is contained in:
@@ -214,6 +214,12 @@ export const categories = [
|
||||
icon: 'file-pen',
|
||||
subtitle: 'Convert a plain text file into a PDF.',
|
||||
},
|
||||
{
|
||||
href: '/src/pages/json-to-pdf.html',
|
||||
name: 'JSON to PDF',
|
||||
icon: 'file-code',
|
||||
subtitle: 'Convert JSON files to PDF format.',
|
||||
},
|
||||
// { id: 'md-to-pdf', name: 'Markdown to PDF', icon: 'file-text', subtitle: 'Convert a Markdown file into a PDF.' },
|
||||
// { id: 'scan-to-pdf', name: 'Scan to PDF', icon: 'camera', subtitle: 'Use your camera to create a scanned PDF.' },
|
||||
// { id: 'word-to-pdf', name: 'Word to PDF', icon: 'file-text', subtitle: 'Convert .docx documents to PDF.' },
|
||||
@@ -258,6 +264,12 @@ export const categories = [
|
||||
icon: 'palette',
|
||||
subtitle: 'Convert all colors to black and white.',
|
||||
},
|
||||
{
|
||||
href: '/src/pages/pdf-to-json.html',
|
||||
name: 'PDF to JSON',
|
||||
icon: 'file-code',
|
||||
subtitle: 'Convert PDF files to JSON format.',
|
||||
},
|
||||
// { id: 'pdf-to-markdown', name: 'PDF to Markdown', icon: 'file-pen', subtitle: 'Extract text into a Markdown file.' },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user