Last active
October 26, 2022 08:03
-
-
Save tonyfast/cfb55f41f5452ef33ec6fbb4e0bda991 to your computer and use it in GitHub Desktop.
the current implementation i'd suggest is in my pidgy
project. i think it will work generically. this doctest
rule is closer the markdown-it-py
conventions. feel free to borrow the implementation where ever you see fit. ping me if you have any tools you want tested out.
🤞 hopefully there is an implementation that can stay about the docutils
layer.
Stumbled into this trying to find out what the MyST syntax was for class "Python REPL" style that doctests uses, not sure if the above answers my question, but I'm in the process of adding MyST support to Sybil, which may be of interest...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@tonyfast Did anything more come of this? This could come in quite handy to a lot of folks
I found a project at https://github.com/thisch/pytest-sphinx and in the early phases of porting it over to docutils / myst API (from simple regex): https://github.com/thisch/pytest-sphinx/pull/31/files
P.S. I also posted to executablebooks/MyST-Parser#601 and Erotemic/xdoctest#68