private Task <DocsMarkdownService> BuildMarkdownService(Section section, DocsSiteRouter router) { var context = new DocsMarkdownRenderingContext(_site, section, router); var builder = new MarkdownPipelineBuilder(); builder.Use(new DisplayLinkExtension(context)); return(Task.FromResult(new DocsMarkdownService(builder))); }
public virtual Task ConfigureMarkdown(DocsMarkdownRenderingContext context, MarkdownPipelineBuilder builder) { return(Task.CompletedTask); }