MdDoctest
Markdown code block to elixir doctest
a = 2
b = 3
a + b
## => 5
a = 2
b = 3
a
## => 21 + 1
## => 2Installation
If available in Hex, the package can be installed
by adding md_doctest to your list of dependencies in mix.exs:
def deps do
[
{:md_doctest, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/md_doctest.