feat(toc): implement table of contents generation feature
- Added a new page for generating a table of contents from PDF bookmarks. - Introduced a web worker to handle the TOC generation process in the background. - Updated TypeScript definitions for coherentpdf integration. - Enhanced the Vite configuration to include necessary headers and exclude specific dependencies. - Modified tsconfig to include WebWorker library and updated file inclusion paths. - Added a new script for handling TOC logic and user interactions.
This commit is contained in:
@@ -83,6 +83,12 @@ export const categories = [
|
||||
icon: 'bookmark',
|
||||
subtitle: 'Add, edit, import, delete and extract PDF bookmarks.',
|
||||
},
|
||||
{
|
||||
href: '/src/pages/table-of-contents.html',
|
||||
name: 'Table of Contents',
|
||||
icon: 'list',
|
||||
subtitle: 'Generate a table of contents page from PDF bookmarks.',
|
||||
},
|
||||
{
|
||||
id: 'add-page-numbers',
|
||||
name: 'Page Numbers',
|
||||
|
||||
Reference in New Issue
Block a user