From 938539bacaf2364f1411f70249ab6e241caa7966 Mon Sep 17 00:00:00 2001 From: jackfiled Date: Mon, 15 Jul 2024 17:14:48 +0800 Subject: [PATCH] fix: Use markdig all extensions. --- YaeBlog.Core/Extensions/ServiceCollectionExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YaeBlog.Core/Extensions/ServiceCollectionExtensions.cs b/YaeBlog.Core/Extensions/ServiceCollectionExtensions.cs index 346f07f..2b617fa 100644 --- a/YaeBlog.Core/Extensions/ServiceCollectionExtensions.cs +++ b/YaeBlog.Core/Extensions/ServiceCollectionExtensions.cs @@ -11,6 +11,8 @@ public static class ServiceCollectionExtensions { MarkdownPipelineBuilder builder = new(); + builder.UseAdvancedExtensions(); + collection.AddSingleton(_ => builder.Build()); return collection;