console: add admonitions to documentation markdown

This commit is contained in:
Vincent Bernat
2025-07-14 16:45:32 +02:00
parent 41ee631b37
commit 8ac89407fd
6 changed files with 490 additions and 38 deletions

View File

@@ -110,6 +110,7 @@ func (c *Component) docsHandlerFunc(gc *gin.Context) {
highlighting.NewHighlighting(
highlighting.WithCustomStyle(draculaStyle),
),
&admonitionExtension{},
),
goldmark.WithParserOptions(
parser.WithAutoHeadingID(),