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:
5 files changed
+4
-87
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user