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 `` are correctly queued for download.
This commit is contained in:
1 file changed
+2
@@ -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  format are queued for download
|
||||
result.content = this.processStandardMarkdownImages(result.content, result);
|
||||
|
||||
// Step 6: Convert wikilinks (after embeds are processed)
|
||||
|
||||
Reference in new issue
Block a user