Class MarkdownParser
Namespace: Aspose.Html.Toolkit.Markdown.Syntax.Parser
Assembly: Aspose.HTML.dll (25.2.0)
Represents an MarkDown format document parser.
[ComVisible(true)]
public class MarkdownParser
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
MarkdownParser()
Initializes a new instance of the Aspose.Html.Toolkit.Markdown.Syntax.Parser.MarkdownParser class.
public MarkdownParser()
MarkdownParser(Action<imarkdownparserbuilder>)
Initializes a new instance of the Aspose.Html.Toolkit.Markdown.Syntax.Parser.MarkdownParser class.
public MarkdownParser(Action<imarkdownparserbuilder> builder)
Parameters
builder
Action<IMarkdownParserBuilder>
The MarkdownParserBuilder.
Fields
DefaultConfig
The default config actions.
public static readonly Action<imarkdownparserbuilder> DefaultConfig
Field Value
Action<IMarkdownParserBuilder>
FullConfig
The full default config.
public static readonly Action<imarkdownparserbuilder> FullConfig
Field Value
Action<IMarkdownParserBuilder>
Methods
Parse(TextReader)
Parse an TextReader.
public MarkdownSyntaxTree Parse(TextReader reader)
Parameters
reader
TextReader
The TextReader.
Returns
The Markdown syntax tree.
Parse(Stream)
Parse from Stream.
public MarkdownSyntaxTree Parse(Stream stream)
Parameters
stream
Stream
The Stream.
Returns
The Markdown syntax tree.
Parse(string)
Prase from the string context.
public MarkdownSyntaxTree Parse(string content)
Parameters
content
string
The string content.
Returns
The Markdown syntax tree.
ParseFile(string)
Parse an file.
public MarkdownSyntaxTree ParseFile(string path)
Parameters
path
string
The path to file.
Returns
The Markdown syntax tree. </imarkdownparserbuilder>