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
Interesting idea! I don't have any spare time to devote to this right now, but you can either submit a PR or sponsor me so I can move this into my working hours.
I came here looking for this too, I just thought it worth mentioning that Github supports syntax highlighting of interactive codeblocks with a different code than normal Python, pycon, e.g.:
It is quite often markdown contains interactive Python shell code like:
Currently, I got following exception for these blocks in my README.md.
Can you add support to test it? I expect the behaviour to be same as
pytest --doctest-modules
, as if the code block is a function's doc-string.The text was updated successfully, but these errors were encountered: