*! version 1.7 30sep2019

*! Doug Hemken

Title

stmd2dyn Convert standard dynamic Markdown to Stata dyndoc
dynamic document format.

Syntax

stmd2dyn
srcfile
[, options]

srcfile is a plain text file containing text
and code blocks in standard dynamic Markdown format.

Enclose filenames in double quotes
if they contain blanks or other special characters.

Main
saving(targetfile) save dyndoc file as targetfile

replace replace targetfile if it already exists

Other
nomsg suppress message of a link to targetfile

Description

stmd2dyn takes a Markdown document which uses standard markdown
specification and converts it to Stata's dialect using dyndoc
dynamic tags.

Options

Main

saving(filename:targetfile) to save the dyndoc, which can
then be processed by Stata.

replace replace targetfile if it already exists

More

nomsg suppresses the message that contains a link to the target file.

Remarks

If targetfile is not specified, then srcfile with an
.dyn file extension is used.

For more on how to format documents, see help stmd.

Examples

. stmd2dyn using example.stmd

Author

Doug Hemken

Social Science Computing Cooperative

Univ of Wisc-Madison

dehemken@wisc.edu

https://www.ssc.wisc.edu/~hemken/Stataworkshops

https://github.com/Hemken/stmd2dyn