private Func <Path, PipeReader, Task <PipeReader> > BuildPreProcessors(Section section) { var builder = new PreProcessorPipelineBuilder(); new RoslynExtension().ConfigurePreProcessors(_site, section, builder); return(builder.Build()); }
public override Task ConfigurePreProcessors(Site site, Section section, PreProcessorPipelineBuilder builder) { builder.Add("**/*.md", new IncludeProcessor(xref => Resolver(site, section, xref))); return(Task.CompletedTask); }