Show / Hide Table of Contents

    Interface IMarkdownParser

    Markdown parser.

    Namespace:Microsoft.DocAsCode.MarkdownLite
    Assembly:Microsoft.DocAsCode.MarkdownLite.dll
    Syntax
    public interface IMarkdownParser

    Properties

    | Improve this Doc View Source

    Context

    Get the current markdown context.

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

    Links

    Get the No. links.

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

    Options

    Get the Options.

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

    Methods

    | Improve this Doc View Source

    SwitchContext(IMarkdownContext)

    Switch the markdown context.

    Declaration
    IMarkdownContext SwitchContext(IMarkdownContext context)
    Parameters
    Type Name Description
    IMarkdownContext context

    New context.

    Returns
    Type Description
    IMarkdownContext

    The old context.

    | Improve this Doc View Source

    Tokenize(SourceInfo)

    Tokenize the markdown text.

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

    A list of IMarkdownToken.

    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