HtmlToMarkdownConverterConvertHtmlToFile Method
Converts a HTML string to Markdown using a base URL to resolve external resources and writes the Markdown text
into a file encoded as UTF-8.
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 void ConvertHtmlToFile(
string htmlString,
string baseUrl,
string outFile
)
Parameters
- htmlString String
- The HTML string to convert to Markdown
- baseUrl String
- The base URL used to determine the full URL of the external resources like images, CSS, JavaScript and Web Font files
referenced by relative URLs in HTML, and of the links and images written in Markdown. It can be null if it is not needed
- outFile String
- The full path of the file where to write the Markdown text