File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
src/Elastic.Markdown/Myst Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,16 @@ public class MarkdownParser(
2727{
2828 public IDirectoryInfo SourcePath { get ; } = sourcePath ;
2929
30+ private BuildContext Context { get ; } = context ;
31+
32+ public static MarkdownPipeline MinimalPipeline { get ; } =
33+ new MarkdownPipelineBuilder ( )
34+ . UseYamlFrontMatter ( )
35+ . UseInlineAnchors ( )
36+ . UseHeadingsWithSlugs ( )
37+ . UseDirectives ( )
38+ . Build ( ) ;
39+
3040 public static MarkdownPipeline Pipeline { get ; } =
3141 new MarkdownPipelineBuilder ( )
3242 . EnableTrackTrivia ( )
@@ -46,16 +56,6 @@ public class MarkdownParser(
4656 . DisableHtmlWithExceptions ( [ "<br>" ] )
4757 . Build ( ) ;
4858
49- private BuildContext Context { get ; } = context ;
50-
51- public static MarkdownPipeline MinimalPipeline { get ; } =
52- new MarkdownPipelineBuilder ( )
53- . UseYamlFrontMatter ( )
54- . UseInlineAnchors ( )
55- . UseHeadingsWithSlugs ( )
56- . UseDirectives ( )
57- . Build ( ) ;
58-
5959 public ConfigurationFile Configuration { get ; } = configuration ;
6060
6161 public Task < MarkdownDocument > MinimalParseAsync ( IFileInfo path , Cancel ctx )
You can’t perform that action at this time.
0 commit comments