Show / Hide Table of Contents

Class XhtmlToMarkdown

Utility to convert XHtml to Markdown text

Inheritance
object
XhtmlToMarkdown
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class XhtmlToMarkdown

Constructors

XhtmlToMarkdown()

Create converter for XHtml to Markdown text

Declaration
public XhtmlToMarkdown()

Methods

Transform(string)

Transform an XHTML string to markdown

Declaration
public string Transform(string xhtmlStr)
Parameters
Type Name Description
string xhtmlStr

a valid xhtml tree

Returns
Type Description
string

Transform(XElement)

Transform an XHTML tree to markdown

Declaration
public string Transform(XElement element)
Parameters
Type Name Description
XElement element

a valid xhtml tree

Returns
Type Description
string

Transform(XmlNode)

Transform an XHTML tree to markdown

Declaration
public string Transform(XmlNode element)
Parameters
Type Name Description
XmlNode element

a valid xhtml tree

Returns
Type Description
string

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX