From 79cd153cfceec860f6ce08d30817c21031983238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Tue, 11 Apr 2023 11:10:58 +0200 Subject: [PATCH] fix: Make admonitions open by default Issue #22: https://github.com/mkdocstrings/python/issues/22 --- .../python/templates/material/_base/docstring/admonition.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html index b3cab485..7d056df8 100644 --- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html +++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html @@ -1,5 +1,5 @@ {{ log.debug("Rendering admonition") }} -
+
{{ section.title|convert_markdown(heading_level, html_id, strip_paragraph=True) }} {{ section.value.contents|convert_markdown(heading_level, html_id) }}
\ No newline at end of file