You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the language of doctest blocks set to Python.
It matters in documents that have highlight_language set to something else (in my case c++).
I think in such cases it's currently necessary is to use the highlight directive before (and after) doctests.
It's not very convenient, so I monkey-patched it in my conf.py:
It would be nice to have the language of
doctest
blocks set to Python.It matters in documents that have
highlight_language
set to something else (in my case c++).I think in such cases it's currently necessary is to use the
highlight
directive before (and after) doctests.It's not very convenient, so I monkey-patched it in my conf.py:
but it'd be more elegant to have it in ext/doctest.py, maybe next to these lines:
The text was updated successfully, but these errors were encountered: