mkdocstrings / mkdocstrings

:blue_book: Automatic documentation from sources, for MkDocs.
https://mkdocstrings.github.io/
ISC License
1.7k stars 104 forks source link

Pycon code blocks not rendered as such even within Examples section #652

Closed MusicalNinjaDad closed 7 months ago

MusicalNinjaDad commented 7 months ago

That's a trade-off we made: Examples is parsed as an actual examples section, while Example is parsed as an admonition.

Python interactive session lines outside of actual code blocks (triple backticks) are only parsed as such when in an Examples section.

Originally posted by @pawamoy in https://github.com/mkdocstrings/python/issues/18#issuecomment-1100778493

MusicalNinjaDad commented 7 months ago

sorry - this belongs in the python issues tracker ...