Beispiel #1
0
        public DocsMarkdownService(DocsMarkdownRenderingContext section)
        {
            var builder = new MarkdownPipelineBuilder();

            builder.UseYamlFrontMatter();
            builder.Use(new DisplayLinkExtension(section));
            builder.UseAdvancedExtensions();
            builder.UseBootstrap();

            _pipeline = builder.Build();
        }
 public HtmlDisplayLinksRenderer(DocsMarkdownRenderingContext context)
 {
     _router = context.Router;
 }
 public DisplayLinkInlineParser(DocsMarkdownRenderingContext context)
 {
     _router           = context.Router;
     OpeningCharacters = "[".ToCharArray();
 }
 public DisplayLinkExtension(DocsMarkdownRenderingContext context)
 {
     _context = context;
 }