AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.7" />

 AutoSelectedMarkupFormatter

AutoSelectedMarkupFormatter class to select the proper MarkupFormatter implementation depending on the used document type.

Creates a new instance of the auto selected markup formatter.

public string Attribute(IAttr attribute)

Formats an attribute specified by the argument.

public string CloseTag(IElement element, bool selfClosing)

Formats closing a tag with the given name.

public string Comment(IComment comment)

Formats the given comment.

public string Doctype(IDocumentType doctype)

Formats the given doctype using the name, public and system identifiers.

public string OpenTag(IElement element, bool selfClosing)

Formats opening a tag with the given name.

public string Processing(IProcessingInstruction processing)

Formats the given processing instruction using the target and the data.

public string Text(string text)

Formats the given text.