From 6545900eecc67c8a6ddd343c497ac22fdd6a26e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Thu, 3 Mar 2022 19:22:44 +0100 Subject: [PATCH] refactor: Use `pycon` for examples code blocks --- .../python/templates/material/_base/docstring/examples.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html index 8f6df880..54bbfa5d 100644 --- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html +++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html @@ -4,6 +4,6 @@ {% if section_type.value == "text" %} {{ sub_section|convert_markdown(heading_level, html_id) }} {% elif section_type.value == "examples" %} - {{ sub_section|highlight(language="python", linenums=False) }} + {{ sub_section|highlight(language="pycon", linenums=False) }} {% endif %} {% endfor %}