Пример #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();
 }
Пример #4
0
 public DisplayLinkExtension(DocsMarkdownRenderingContext context)
 {
     _context = context;
 }