Here is a collection of examples using Markdown and Stata together.
For each example you can see the input script and the output as rendered by
estout) Tables of Statistics (
markstat command works with plain Stata Markdown scripts with no
extra Stata commands required,
but also plays well with Stata commands that generate fancy tables of estimates or
statistics, as illustrated in the last two examples.
You can run any of these examples directly from this website, assuming you have installed the tooling required. For example to run the simple script example try
copy http://data.princeton.edu/stata/markdown/simpleScript.stmd simpleScript.stmd markstat simpleScript
The first line downloads the Stata Markdown script to your computer,
a necessary step because the command requires local files, and the second