refactor: remove unused metadata extraction (tags/wordCount)

- Remove extractTags() and calculateWordCount() methods (dead code)
- Keep only extractTitle() method in MetadataExtractor
- Remove includeMetadata option and related infrastructure
- Update PreprocessingResult interfaces across all processors
- Remove wordCount from metadata schema
- Tags still populated from frontmatter (FrontmatterProcessor)
- Build verification passes without errors

Analysis showed these methods extracted data never consumed by Typst
templates or PDF generation pipeline.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jarvis committed 2025-09-09 22:39:38 +02:00
1 parent a6b35d336a
commit 09365e2d75
5 files changed
+4 -87

No files matched your search

-1
View File
@@ -159,7 +159,6 @@ export class ExportOrchestrator {
const preprocessor = new MarkdownPreprocessor({
vaultPath: vaultPath,
options: {
includeMetadata: true,
preserveFrontmatter: config.printFrontmatter ?? this.plugin.settings.behavior.printFrontmatter,
baseUrl: undefined,
printFrontmatter: config.printFrontmatter ?? this.plugin.settings.behavior.printFrontmatter