Show / Hide Table of Contents

    Class MarkdownEngine

    Inheritance
    Object
    MarkdownEngine
    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 MarkdownEngine : IMarkdownEngine

    Constructors

    | Improve this Doc View Source

    MarkdownEngine(IMarkdownContext, IMarkdownTokenRewriter, Object, Options)

    Declaration
    public MarkdownEngine(IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options)
    Parameters
    Type Name Description
    IMarkdownContext context
    IMarkdownTokenRewriter rewriter
    Object renderer
    Options options
    | Improve this Doc View Source

    MarkdownEngine(IMarkdownContext, IMarkdownTokenRewriter, Object, Options, Dictionary<String, LinkObj>)

    Declaration
    protected MarkdownEngine(IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options, Dictionary<string, LinkObj> links)
    Parameters
    Type Name Description
    IMarkdownContext context
    IMarkdownTokenRewriter rewriter
    Object renderer
    Options options
    Dictionary<String, LinkObj> links
    | Improve this Doc View Source

    MarkdownEngine(IMarkdownContext, Object, Options)

    Declaration
    public MarkdownEngine(IMarkdownContext context, object renderer, Options options)
    Parameters
    Type Name Description
    IMarkdownContext context
    Object renderer
    Options options

    Properties

    | Improve this Doc View Source

    Context

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

    Links

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

    MaxExtractCount

    Declaration
    public int MaxExtractCount { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Options

    Declaration
    public Options Options { get; }
    Property Value
    Type Description
    Options
    | Improve this Doc View Source

    Parser

    Declaration
    public virtual IMarkdownParser Parser { get; }
    Property Value
    Type Description
    IMarkdownParser
    Implements
    IMarkdownEngine.Parser
    | Improve this Doc View Source

    Renderer

    Declaration
    public virtual IMarkdownRenderer Renderer { get; }
    Property Value
    Type Description
    IMarkdownRenderer
    Implements
    IMarkdownEngine.Renderer
    | Improve this Doc View Source

    RendererImpl

    Declaration
    public object RendererImpl { get; }
    Property Value
    Type Description
    Object
    | Improve this Doc View Source

    RewriteEngine

    Declaration
    public virtual IMarkdownRewriteEngine RewriteEngine { get; }
    Property Value
    Type Description
    IMarkdownRewriteEngine
    Implements
    IMarkdownEngine.RewriteEngine
    | Improve this Doc View Source

    Rewriter

    Declaration
    public IMarkdownTokenRewriter Rewriter { get; }
    Property Value
    Type Description
    IMarkdownTokenRewriter
    | Improve this Doc View Source

    TokenTreeValidator

    Declaration
    public IMarkdownTokenTreeValidator TokenTreeValidator { get; set; }
    Property Value
    Type Description
    IMarkdownTokenTreeValidator
    Implements
    IMarkdownEngine.TokenTreeValidator

    Methods

    | Improve this Doc View Source

    Mark(SourceInfo, IMarkdownContext)

    Declaration
    public StringBuffer Mark(SourceInfo sourceInfo, IMarkdownContext context)
    Parameters
    Type Name Description
    SourceInfo sourceInfo
    IMarkdownContext context
    Returns
    Type Description
    StringBuffer
    Implements
    IMarkdownEngine.Mark(SourceInfo, IMarkdownContext)
    | Improve this Doc View Source

    Markup(String, String)

    Declaration
    public virtual string Markup(string markdown, string file)
    Parameters
    Type Name Description
    String markdown
    String file
    Returns
    Type Description
    String
    Implements
    IMarkdownEngine.Markup(String, String)
    | Improve this Doc View Source

    Normalize(String)

    Declaration
    public static string Normalize(string markdown)
    Parameters
    Type Name Description
    String markdown
    Returns
    Type Description
    String
    | Improve this Doc View Source

    Preprocess(String)

    Declaration
    protected virtual string Preprocess(string src)
    Parameters
    Type Name Description
    String src
    Returns
    Type Description
    String

    Extension Methods

    JsonUtility.ToJsonString(Formatting, JsonSerializer)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2015-2016 Microsoft
    Generated by DocFX