fix: Use markdig all extensions.
All checks were successful
Build blog docker image / Build-Blog-Image (push) Successful in 1m31s

This commit is contained in:
jackfiled 2024-07-15 17:14:48 +08:00
parent f669328b0c
commit 938539baca

View File

@ -11,6 +11,8 @@ public static class ServiceCollectionExtensions
{ {
MarkdownPipelineBuilder builder = new(); MarkdownPipelineBuilder builder = new();
builder.UseAdvancedExtensions();
collection.AddSingleton<MarkdownPipeline>(_ => builder.Build()); collection.AddSingleton<MarkdownPipeline>(_ => builder.Build());
return collection; return collection;