Use UriExportStrategy with CustomUriExportStrategy and IUriSavingHandler to rewrite resource URIs in the Markdown output. This is useful when images are served from a CDN or a different path than where they’re saved.
Note
URI rewriting works with file-based image strategies (ExportImagesToFileSystemStrategy or CustomImagesStrategy). It has no effect when images are embedded as Base64.
Prepend a CDN base URL
usingGroupDocs.Markdown;publicclassCdnUriHandler:IUriSavingHandler{publicvoidHandle(UriSavingArgsargs){args.SetResourceFileUri("https://cdn.example.com/assets/"+args.ResourceFileName);}}varoptions=newConvertOptions{ImageExportStrategy=newExportImagesToFileSystemStrategy("output/images"){ImagesRelativePath="images"},UriExportStrategy=newCustomUriExportStrategy(newCdnUriHandler())};MarkdownConverter.ToFile("business-plan.docx","output/report.md",options);// Images saved locally to output/images/// Markdown references: 
business-plan.docx is a sample file used in this example. Click here to download it.