IDEAS home Printed from
MyIDEAS: Log in (now much improved!) to save this article

Creating HTML or Markdown documents from within Stata using webdoc

Listed author(s):
  • Ben Jann


    (University of Bern)

Registered author(s):

In this article, I discuss the use of webdoc for creating HTML or Markdown documents from within Stata. The webdoc command provides a way to embed HTML or Markdown code directly in a do-file and automate the inte- gration of results from Stata in the final document. The command can be used, for example, to create a webpage documenting your data analysis, including all Stata output and graphs. More generally, the command can be used to create and maintain a website that contains results computed by Stata.

If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL:
File Function: link to article purchase
Download Restriction: no

Article provided by StataCorp LP in its journal Stata Journal.

Volume (Year): 17 (2017)
Issue (Month): 1 (March)
Pages: 3-38

in new window

Handle: RePEc:tsj:stataj:v:17:y:2017:i:1:p:3-38
Note: to access software from within Stata, net describe
Contact details of provider: Web page:

Order Information: Web:

References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:

in new window

  1. Ben Jann, 2007. "Making regression tables simplified," Stata Journal, StataCorp LP, vol. 7(2), pages 227-244, June.
  2. Roger Newson, 2009. "LISTTAB: Stata module to list variables as rows of a TeX, HTML or word processor table," Statistical Software Components S457088, Boston College Department of Economics, revised 13 Oct 2015.
  3. Llorenç Quintó & Sergi Sanz & Elisa De Lazzari & John J. Aponte, 2012. "HTML output in Stata," Stata Journal, StataCorp LP, vol. 12(4), pages 702-717, December.
  4. P. Wilner Jeanty, 2010. "HLP2HTML: Stata module to translate a list of Stata help files to HTML," Statistical Software Components S457209, Boston College Department of Economics.
Full references (including those not matched with items on IDEAS)

This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:17:y:2017:i:1:p:3-38. See general information about how to correct material in RePEc.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum)

or (Lisa Gilmore)

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

If references are entirely missing, you can add them using this form.

If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.

Please note that corrections may take a couple of weeks to filter through the various RePEc services.

This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.