CustomUriExportStrategy
Leave feedback
On this page
Implements a URI export strategy that lets you customize how resource URIs are written to Markdown.
public class CustomUriExportStrategy : IUriExportStrategy
| Name | Description |
|---|---|
| CustomUriExportStrategy(IUriSavingHandler) | Initializes a new instance of the CustomUriExportStrategy class. |
| Name | Description |
|---|---|
| UpdateResourceUri(UriExportContext) |
Supply an IUriSavingHandler implementation to rewrite resource URIs (for example, to prepend a CDN base URL).
var handler = new CdnUriHandler();
var options = new ConvertOptions
{
UriExportStrategy = new CustomUriExportStrategy(handler)
};
string markdown = MarkdownConverter.ToMarkdown("document.docx", options);
- interface IUriExportStrategy
- 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.