site: admonitions custom title with icons

This commit is contained in:
Johannes Kirschbauer
2025-10-06 21:04:10 +02:00
parent 5cac9e7704
commit a40c6884d9
9 changed files with 837 additions and 342 deletions

View File

@@ -105,7 +105,7 @@ def render_option(
read_only = option.get("readOnly")
res = f"""
{"#" * level} {sanitize(name) if short_head is None else sanitize(short_head)} {"{: #" + sanitize_anchor(name) + "}" if level > 1 else ""}
{"#" * level} {sanitize(name) if short_head is None else sanitize(short_head)}
"""