Ensures correct image download order

Ensures that standard markdown images with remote URLs are processed for download after embeds and before wikilinks.

This ensures that remote URLs in the standard markdown format `![](url)` are correctly queued for download.
This commit is contained in:
AlexKucera committed 2025-11-04 11:15:53 +01:00
1 parent 6e446048d2
commit 1ca3669e2f
1 file changed
+2
+2
View File
@@ -144,6 +144,8 @@ export class MarkdownPreprocessor {
result.content = this.embedProcessor.processEmbeds(result.content, result);
// Step 5.5: Handle standard markdown images with remote URLs
// Process after embeds (which handle ![[]] syntax) but before wikilinks
// to ensure remote URLs in standard markdown ![](url) format are queued for download
result.content = this.processStandardMarkdownImages(result.content, result);
// Step 6: Convert wikilinks (after embeds are processed)