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

Allows for multiple replacements to be applied to the HTML. More...

Inheritance diagram for Html2Markdown.Replacement.CompositeReplacer:
Html2Markdown.Replacement.IReplacer Html2Markdown.Replacement.EmphasisTagReplacer Html2Markdown.Replacement.StrongTagReplacer

Public Member Functions

string Replace (string html)
 Applies all replacements to the given HTML string.
 
string Replace (string html)
 Replace specific matches in an HTML string.
 

Protected Member Functions

void AddReplacer (IReplacer replacer)
 Adds a replacer to the list of replacements.
 

Detailed Description

Allows for multiple replacements to be applied to the HTML.

Member Function Documentation

◆ AddReplacer()

void Html2Markdown.Replacement.CompositeReplacer.AddReplacer ( IReplacer  replacer)
inlineprotected

Adds a replacer to the list of replacements.

Parameters
replacerThe IReplacer instance to add.

◆ Replace()

string Html2Markdown.Replacement.CompositeReplacer.Replace ( string  html)
inline

Applies all replacements to the given HTML string.

Parameters
htmlThe HTML string to process.
Returns
The processed HTML string with all replacements applied.

Implements Html2Markdown.Replacement.IReplacer.


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