Enhances path handling and file resolution #5

Merged
AlexKucera merged 36 commits from 1.3.0 into master 2025-09-25 16:47:12 +02:00
Showing only changes of commit 3782f0a7fb - Show all commits
@@ -109,8 +109,8 @@ export class PandocCommandBuilder {
// Add plugin templates directory as a resource path so Typst can find template files
const templatesDir = pathUtils.joinPath(absolutePluginDir, 'templates');
// Quote the path to handle spaces and special characters
args.push('--resource-path', `"${templatesDir}"`);
// Path quoting handled automatically by spawn
args.push('--resource-path', templatesDir);
// Pass the actual template path as a variable
// Use relative path from vault root for Typst import
1