AngleSharp by Florian Rappl

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

 IHtmlObject

interface IHtmlObject
Represents an object that can be represented in HTML markup.
string ToHtml()

Returns the HTML markup representation of the object.