{{ log.debug("Rendering admonition") }}
<details class="{{ section.value.kind.rstrip("-") }}"
         {% if section.value.kind.endswith('-') %} {% else %} open {% endif %}>
  <summary>{{ section.title|convert_markdown(heading_level, html_id, strip_paragraph=True) }}</summary>
  {{ section.value.contents|convert_markdown(heading_level, html_id) }}
</details>
