HTML2Markdown
Converts HTML to Markdown syntax.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Html2Markdown.Converter Class Reference

An Html to Markdown converter. More...

Public Member Functions

 Converter ()
 Create a Converter with the standard Markdown conversion scheme.
 
 Converter (IScheme scheme)
 Create a converter with a custom conversion scheme.
 
string ConvertFile (string path)
 Converts Html contained in a file to a Markdown string.
 
string Convert (string html)
 Converts an Html string to a Markdown string.
 

Detailed Description

An Html to Markdown converter.

Constructor & Destructor Documentation

◆ Converter() [1/2]

Html2Markdown.Converter.Converter ( )
inline

Create a Converter with the standard Markdown conversion scheme.

◆ Converter() [2/2]

Html2Markdown.Converter.Converter ( IScheme  scheme)
inline

Create a converter with a custom conversion scheme.

Parameters
schemeConversion scheme to control conversion

Member Function Documentation

◆ Convert()

string Html2Markdown.Converter.Convert ( string  html)
inline

Converts an Html string to a Markdown string.

Parameters
htmlThe Html string you wish to convert
Returns
A Markdown representation of the passed in Html

◆ ConvertFile()

string Html2Markdown.Converter.ConvertFile ( string  path)
inline

Converts Html contained in a file to a Markdown string.

Parameters
pathThe path to the file which is being converted
Returns
A Markdown representation of the passed in Html

The documentation for this class was generated from the following file: