Thanks once again to Kit Baum, a new version of the listtab package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of listtab.

The listtab package is described as below on my website, The new version adds a new table row style rstyle(markdown), and an example in the help file showing how it can be used to output a Markdown table complete with a Markdown table header.

Best wishes

Roger

---------------------------------------------------------------------------------
package listtab from http://www.rogernewsonresources.org.uk/stata11
---------------------------------------------------------------------------------

TITLE
listtab: List variables as rows of a TeX, HTML or word processor table

DESCRIPTION/AUTHOR(S)
listtab outputs a list of variables to the Stata log or to a file as TeX,
HTML or word processor table rows, which can then be inserted into a TeX,
HTML or word processor table by cutting and pasting and/or file linking
and/or embedding (eg using the TeX \input command). listtab produces the
table rows, but may also produce a set of header lines before the table
rows and/or footer lines after the table rows, containing preambles and/or
table definitions and/or table headers and/or table footers, as specified
by the user.

Author: Roger Newson
Distribution-Date: 21september2020
Stata-Version: 11

INSTALLATION FILES (click here to install)
listtab.ado
listtab_vars.ado
listtab_rstyle.ado
listtab.sthlp
listtab_vars.sthlp
listtab_rstyle.sthlp
---------------------------------------------------------------------------------
(click here to return to the previous screen)