feat: use smarty pants extension

This commit is contained in:
Oliver Booth 2023-08-09 23:19:29 +01:00
parent 0b9841a724
commit 5c55318577
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61

View File

@ -19,6 +19,7 @@ builder.Services.AddSingleton(provider => new MarkdownPipelineBuilder()
.Use(new TemplateExtension(provider.GetRequiredService<TemplateService>())) .Use(new TemplateExtension(provider.GetRequiredService<TemplateService>()))
.UseAdvancedExtensions() .UseAdvancedExtensions()
.UseBootstrap() .UseBootstrap()
.UseSmartyPants()
.Build()); .Build());
builder.Services.AddDbContextFactory<BlogContext>(); builder.Services.AddDbContextFactory<BlogContext>();