コード例 #1
0
 public static MarkdownPipelineBuilder UseCodeBlockAnnotations(
     this MarkdownPipelineBuilder pipeline,
     IDirectoryAccessor directoryAccessor,
     PackageRegistry packageRegistry,
     IDefaultCodeBlockAnnotations defaultAnnotations = null)
 {
     return(pipeline.UseCodeBlockAnnotations(
                new LocalCodeFenceAnnotationsParser(
                    directoryAccessor,
                    packageRegistry,
                    defaultAnnotations)));
 }