Improves Typst error reporting in Pandoc conversion

Replaces intermediate Typst file generation with enhanced diagnostic options

Adds short diagnostic format for better error reporting during Typst PDF engine conversion
Removes complex intermediate file generation and debug file copying logic
Simplifies command builder by focusing on diagnostic improvements
This commit is contained in:
AlexKucera committed 2025-09-11 12:11:33 +02:00
1 parent 730e4997eb
commit 9124531c58
2 files changed
+6 -31

No files matched your search

-4
View File
@@ -30,10 +30,6 @@ export class PandocExecutor {
const pandocPath = this.pathResolver.resolveExecutablePath(pandocOptions.pandocPath, 'pandoc');
const timeout = pandocOptions.timeout || 60000;
// Log the exact command being executed for debugging
progressCallback?.('Starting Pandoc process...', 40);
// Determine working directory - use vault base path if available, fallback to plugin directory
let workingDir: string;