/* Stata Weaver Package Developed by E. F. Haghish (2014) Center for Medical Biometry and Medical Informatics University of Freiburg, Germany haghish@imbi.uni-freiburg.de The Weaver Package comes with no warranty DESCRIPTION ============================== This program is only executed by "weave.ado" program to add the Weaver Markup code the Weaver document. This code is written in JavaScript to process Weaver Markup syntax and convert it to HTML. */ program define weavermarkup version 11 tempname canvas capture file open `canvas' using "$htmldoc" , write text append ******************************************************************** * JavaScript Markdown Syntax ******************************************************************** file write `canvas' _n(2) "" _n(2) /// `"" _n(2) file close `canvas' end