Show / Hide Table of Contents

    Class MarkdownParser

    Inheritance
    Object
    MarkdownParser
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    Implements
    IMarkdownParser.Context
    | Improve this Doc View Source

    Links

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

    Options

    Declaration
    public Options Options { get; }
    Property Value
    Type Description
    Options
    Implements
    IMarkdownParser.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
    Implements
    IMarkdownParser.SwitchContext(IMarkdownContext)
    | Improve this Doc View Source

    Tokenize(SourceInfo)

    Declaration
    public ImmutableArray<IMarkdownToken> Tokenize(SourceInfo sourceInfo)
    Parameters
    Type Name Description
    SourceInfo sourceInfo
    Returns
    Type Description
    System.Collections.Immutable.ImmutableArray<IMarkdownToken>
    Implements
    IMarkdownParser.Tokenize(SourceInfo)

    Extension Methods

    MarkdownParserExtensions.SwitchContext(String, Object)
    MarkdownParserExtensions.SwitchContext(IReadOnlyDictionary<String, Object>)
    MarkdownParserExtensions.TokenizeInline(SourceInfo)
    JsonUtility.ToJsonString(Formatting, JsonSerializer)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2015-2016 Microsoft
    Generated by DocFX