コード例 #1
0
 public static MarkdownPipelineBuilder UseGistExtension(this MarkdownPipelineBuilder pipeline, IMarkdigGistWrapper wrapper)
 {
     pipeline.Extensions.Add(new MarkdigGistExtension(wrapper));
     return(pipeline);
 }
コード例 #2
0
 public MarkdigGistExtension(IMarkdigGistWrapper wrapper = null) => _wrapper = wrapper;