I am introducing a new option in MarkDoc, called mini that allows running MarkDoc without requiring any third-party software, apart from Stata version 15 or above. Here is the main announcement on GitHub Wiki. I also provided an example do file that can be used to produce a Microsoft Word docx, html, pdf, or Stata help file, without requiring Pandoc, pdf-printer, etc... fully written with Stata 15.

The package also includes a built-in Markdown to Docx and Markdown to PDF converter which is called mdconvert.ado. If you would like to help to improve it. The PDF output certainly needs some style correction, but that can wait until possible bugs are fixed.


You can update or install MarkDoc, using the github package (MarkDoc is not hosted on SSC anymore). If github is installed, type:

HTML Code:
github install haghish/markdoc
And you should be good to go creating dynamic documents in md, html, docx, pdf, and sthlp, from do-files, smcl log-files, or Stata Ado/Mata files. Although for generating dynamic documents do-files are recommended because MarkDoc examines the reproducibility of the code by running it in a fresh Stata environment.

All of the MarkDoc features, such as syntax highlighter, document styles, dynamic tables, figures, etc, are supported. In addition, there is a new GUI that should make working with MarkDoc Mini much easier. Just type:

HTML Code:
db mini
Array

The MarkDoc Mini is just an add-on of MarkDoc and the original package (which requires Pandoc and wkhtmltopdf) will be maintained regularly.
What is needed is testing and bug reports because the new option is still in beta mode. Within my current test files, the new mode seems to be fully functional (see the supported syntax on GitHub Wiki), but I hope with your help, a stable version for this mode would be reached much faster. If you are new to MarkDoc, you find useful information on the GitHub repository https://github.com/haghish/markdoc. Please kindly report the bugs on GitHub as well.