HtmlToMarkdownConverterConvertUrlAsync Method
Asynchronously converts an URL to Markdown and returns the Markdown text.
A new instance of HtmlToMarkdownConverter must be created for each call to this method
Namespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.1.0
public Task<string> ConvertUrlAsync(
string url,
CancellationToken ct = default
)
- url String
- The URL of the HTML document to convert to Markdown. The full path of a HTML file in the local file system
prefixed by file:// is accepted as an URL
- ct CancellationToken (Optional)
-
A cancellation token that can be used to cancel the asynchronous operation. When cancellation
is requested the task returned by this method will complete by throwing
OperationCanceledException as soon as possible.
TaskStringThe Markdown text