The -stmd- package is now available from SSC. Thank you, Kit.

The
Code:
stmd
command takes a text document, converts the dynamic Stata code to Markdown, and then converts the Markdown to it's final HTML format.

The package includes dialogs and menu entries for
Code:
stmd
, as well as
Code:
markdown
,
Code:
dyndoc
, and
Code:
dyntext
.

Documents are written in the same style as
Code:
markstat
, with Stata code written in fenced code blocks embedded within Markdown (in contrast to
Code:
markdoc
and
Code:
webdoc
, which embed Markdown text within do file comments).

What sets
Code:
stmd
apart from
Code:
markstat
is that it does not require installing other software and other packages - it is built upon Stata's
Code:
dyndoc
command ... so it requires Stata 15 or higher.

With the installation of Pandoc and a LaTeX compiler, the same range of output formats available with
Code:
markstat
is possible with
Code:
stmd
.

In Stata, try
Code:
ssc describe stmd