예제 #1
0
 protected MarkdownEngine(IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options, Dictionary<string, LinkObj> links)
 {
     Context = context;
     Rewriter = rewriter ?? MarkdownTokenRewriterFactory.Null;
     RendererImpl = renderer;
     Options = options;
     Links = links;
 }
예제 #2
0
 public MarkdownLoopTokenRewriter(IMarkdownTokenRewriter inner, int maxLoopCount)
 {
     Inner = inner;
     MaxLoopCount = maxLoopCount;
 }
예제 #3
0
 public MarkdownEngine(IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options)
     : this(context, rewriter, renderer, options, new Dictionary<string, LinkObj>())
 {
 }
예제 #4
0
 public MarkdownRewriteEngine(IMarkdownEngine engine, IMarkdownTokenRewriter rewriter)
 {
     Engine = engine;
     _rewriter = rewriter;
 }
예제 #5
0
파일: DfmEngine.cs 프로젝트: runt18/docfx
 public DfmEngine(IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options)
     : base(context, rewriter, renderer, options, new Dictionary <string, LinkObj>())
 {
 }
 public MarkdownTokenRewriteWithScope(IMarkdownTokenRewriter inner, string scope)
 {
     Inner = inner;
     Scope = scope;
 }
예제 #7
0
 public MarkdownLoopTokenRewriter(IMarkdownTokenRewriter inner, int maxLoopCount)
 {
     Inner        = inner;
     MaxLoopCount = maxLoopCount;
 }
예제 #8
0
 public MarkdownRewriteEngine(IMarkdownEngine engine, IMarkdownTokenRewriter rewriter)
 {
     Engine    = engine;
     _rewriter = rewriter;
 }