Show / Hide Table of Contents

    Interface IMarkdownContext

    The context for markdown parser. It should be immutable.

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

    Properties

    | Improve this Doc View Source

    Rules

    Get the rule set for current context.

    Declaration
    ImmutableList<IMarkdownRule> Rules { get; }
    Property Value
    Type Description
    System.Collections.Immutable.ImmutableList<IMarkdownRule>
    | Improve this Doc View Source

    Variables

    Get the variables.

    Declaration
    ImmutableDictionary<string, object> Variables { get; }
    Property Value
    Type Description
    System.Collections.Immutable.ImmutableDictionary<String, Object>

    Methods

    | Improve this Doc View Source

    CreateContext(ImmutableDictionary<String, Object>)

    Create a new context with different variables.

    Declaration
    IMarkdownContext CreateContext(ImmutableDictionary<string, object> variables)
    Parameters
    Type Name Description
    System.Collections.Immutable.ImmutableDictionary<String, Object> variables

    The new variables.

    Returns
    Type Description
    IMarkdownContext

    a new instance of IMarkdownContext

    Extension Methods

    DfmContextExtensions.GetFilePathStack()
    DfmContextExtensions.SetFilePathStack(ImmutableStack<String>)
    DfmContextExtensions.GetBaseFolder()
    DfmContextExtensions.SetBaseFolder(String)
    DfmContextExtensions.SetDependency(HashSet<String>)
    DfmContextExtensions.ReportDependency(String)
    DfmContextExtensions.ReportDependency(IEnumerable<String>)
    JsonUtility.ToJsonString(Formatting, JsonSerializer)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2015-2016 Microsoft
    Generated by DocFX