Skip to content

Commit e2460d7

Browse files
committed
Use anchoring
1 parent 3697f70 commit e2460d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LinkDotNet.Blog.Web/Shared/MarkdownComponentBase.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Markdig;
2+
using Markdig.Extensions.AutoIdentifiers;
23
using Microsoft.AspNetCore.Components;
34

45
namespace LinkDotNet.Blog.Web.Shared
@@ -7,6 +8,7 @@ public abstract class MarkdownComponentBase : ComponentBase
78
{
89
private static readonly MarkdownPipeline MarkdownPipeline = new MarkdownPipelineBuilder()
910
.UseAdvancedExtensions()
11+
.UseAutoIdentifiers(AutoIdentifierOptions.GitHub)
1012
.UseEmojiAndSmiley()
1113
.UseCitations()
1214
.UseBootstrap()

0 commit comments

Comments
 (0)