midgy is a tool i've been crafting that translates markdown to valid python.
this concept might sound perculiar from a programming perspective,
but it was designed as a [literate programming] tool.
`midgy` is a tool i've been crafting that translates markdown to valid python.
this concept might sound perculiar from a programming perspective,
but it was designed as a [literate programming] tool.
to avoid feature creep, `midgy` tries to stick fairly close to the commonspec
when tokenizing markdown. `midgy` adds a _doctest_ token to the parser.
we make this addition because `doctest` is a _[literate programming]_
considered in the core python language.
in this document, we convert the `markdown_it` tokens into valid `doctest.DocTest` runners.
10
midgy
is a tool i've been crafting that translates markdown to valid python.
this concept might sound perculiar from a programming perspective,
but it was designed as a [literate programming] tool.
to avoid feature creep,
midgy
tries to stick fairly close to the commonspec
when tokenizing markdown.
midgy
adds a
doctest
token to the parser.
we make this addition because
doctest
is a
[literate programming]
considered in the core python language.
in this document, we convert the
markdown_it
tokens into valid
doctest.DocTest
runners.