Skip to content

Commit 102d02a

Browse files
authored
Merge pull request #831 from snnz/custom-container
Set delimiter char and count in CustomContainerInline instances.
2 parents 5ae8ab7 + d0311b4 commit 102d02a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Markdig/Extensions/CustomContainers/CustomContainerExtension.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ public void Setup(MarkdownPipelineBuilder pipeline)
3030
{
3131
if (delimiterCount == 2 && emphasisChar == ':')
3232
{
33-
return new CustomContainerInline();
33+
return new CustomContainerInline
34+
{
35+
DelimiterChar = ':',
36+
DelimiterCount = 2
37+
};
3438
}
3539
return null;
3640
});

0 commit comments

Comments
 (0)