How to get Nose to run doctests from my Markdown documentation?

Skip Montanaro skip.montanaro at gmail.com
Wed Sep 20 11:17:07 EDT 2017


> There are tools for getting doctests out of .rst files.  Is it an option to
> use .rst instead of .md?

Given the existence proof of md working as an extension (see my
previous follow-up), my guess is that it more-or-less supports just
about any nearly-plain-text format. I could use .rst, I suppose, but
then I'd have to add a magic token to my files to tell Emacs they are
really in Markdown format.

Skip



More information about the Python-list mailing list