Search Results for

    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
    ImmutableArray<IMarkdownToken>

    A list of IMarkdownToken.

    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