Files
obsidian-typst-pdf-export/src/converters
Jarvis 9960f63650 refactor: extract EmbedProcessor and fix WebP conversion
- Extract embed processing logic from MarkdownPreprocessor to new EmbedProcessor module
- Fix WebP image conversion that was broken during refactoring:
  - Update ImageMagick command from deprecated 'convert' to modern 'magick'
  - Fix field name mismatch: use 'sizeOrAlt' instead of 'alt' in plugin/EmbedProcessor
  - Use PathResolver for proper ImageMagick executable path resolution
- Restore comprehensive embed processing including images, PDFs, and files
- Add proper error handling and fallback for WebP conversion failures
- Maintain size parameter parsing (e.g., "400x300") vs alt text differentiation

Resolves WebP conversion issues and completes Step 2.3 of refactoring plan.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 15:58:24 +02:00
..