Show / Hide Table of Contents

    Interface IMarkdownRule

    Markdown rule.

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

    Properties

    Name

    Get the name of rule.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    String

    Methods

    TryMatch(IMarkdownParser, IMarkdownParsingContext)

    Try match this rule.

    Declaration
    IMarkdownToken TryMatch(IMarkdownParser parser, IMarkdownParsingContext context)
    Parameters
    Type Name Description
    IMarkdownParser parser

    The markdown parser.

    IMarkdownParsingContext context

    The context for parser, contains markdown text, line number and file.

    Returns
    Type Description
    IMarkdownToken

    If matched, an instance of IMarkdownToken should be return, otherwise null.

    Extension Methods

    JsonUtility.ToJsonString(Object, Formatting, JsonSerializer)
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX