IUriSavingHandler
Leave feedback
On this page
Callback interface invoked for each resource URI during conversion when using CustomUriExportStrategy. Implement this interface to rewrite resource URIs in the Markdown output.
public interface IUriSavingHandler
| Name | Description |
|---|---|
| Handle(UriSavingArgs) | Called once for each resource URI that will be written to the Markdown output. |
Prepend a CDN base URL to every resource:
public class CdnUriHandler : IUriSavingHandler
{
public void Handle(UriSavingArgs args)
{
args.SetResourceFileUri("https://cdn.example.com/" + args.ResourceFileName);
}
}
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.