Skip to content

Commit

Permalink
Update Configure.Ssg.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jul 8, 2023
1 parent 7870cb2 commit 4a7a1f4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions MyApp/Configure.Ssg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ public void Configure(IWebHostBuilder builder) => builder
appHost => appHost.Plugins.Add(new CleanUrlsFeature()),
afterPluginsLoaded: appHost =>
{
MarkdigConfig.Set(new MarkdigConfig
{
ConfigurePipeline = pipeline =>
{
// Extend Markdig Pipeline
},
ConfigureContainers = config =>
{
config.AddBuiltInContainers();
// Add Custom Block or Inline containers
}
});
var pages = appHost.Resolve<MarkdownPages>();
var videos = appHost.Resolve<MarkdownVideos>();
var meta = appHost.Resolve<MarkdownMeta>();
Expand Down

0 comments on commit 4a7a1f4

Please sign in to comment.