Search Results for

    Show / Hide Table of Contents

    Class MarkdownParser

    Inheritance
    Object
    MarkdownParser
    Implements
    IMarkdownParser
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.DocAsCode.MarkdownLite
    Assembly: Microsoft.DocAsCode.MarkdownLite.dll
    Syntax
    public class MarkdownParser : IMarkdownParser

    Constructors

    | Improve this Doc View Source

    MarkdownParser(IMarkdownContext, Options, Dictionary<String, LinkObj>)

    Declaration
    public MarkdownParser(IMarkdownContext context, Options options, Dictionary<string, LinkObj> links)
    Parameters
    Type Name Description
    IMarkdownContext context
    Options options
    Dictionary<String, LinkObj> links

    Properties

    | Improve this Doc View Source

    Context

    Declaration
    public IMarkdownContext Context { get; }
    Property Value
    Type Description
    IMarkdownContext
    | Improve this Doc View Source

    Links

    Declaration
    public Dictionary<string, LinkObj> Links { get; }
    Property Value
    Type Description
    Dictionary<String, LinkObj>
    | Improve this Doc View Source

    Options

    Declaration
    public Options Options { get; }
    Property Value
    Type Description
    Options

    Methods

    | Improve this Doc View Source

    Preprocess(String)

    Declaration
    protected virtual string Preprocess(string src)
    Parameters
    Type Name Description
    String src
    Returns
    Type Description
    String
    | Improve this Doc View Source

    SwitchContext(IMarkdownContext)

    Declaration
    public IMarkdownContext SwitchContext(IMarkdownContext context)
    Parameters
    Type Name Description
    IMarkdownContext context
    Returns
    Type Description
    IMarkdownContext
    | Improve this Doc View Source

    Tokenize(SourceInfo)

    Declaration
    public ImmutableArray<IMarkdownToken> Tokenize(SourceInfo sourceInfo)
    Parameters
    Type Name Description
    SourceInfo sourceInfo
    Returns
    Type Description
    ImmutableArray<IMarkdownToken>

    Implements

    IMarkdownParser

    Extension Methods

    MarkdownParserExtensions.SwitchContext(IMarkdownParser, String, Object)
    MarkdownParserExtensions.SwitchContext(IMarkdownParser, IReadOnlyDictionary<String, Object>)
    MarkdownParserExtensions.TokenizeInline(IMarkdownParser, SourceInfo)
    JsonUtility.ToJsonString(Object, Formatting, JsonSerializer)
    • Improve this Doc
    • View Source
    • 0 Comments
    In This Article
    Back to top Copyright © Microsoft.
    Generated by DocFX