haghish / markdoc

A literate programming package for Stata which develops dynamic documents, slides, and help files in various formats
http://haghish.com/markdoc
88 stars 31 forks source link

[version 3.9.6] HTML markup option is not working #20

Closed coqauvin closed 6 years ago

coqauvin commented 7 years ago

Hello,

When using the latest version of Markdoc (3.9.6), and when trying to save an HTML document, the markup option does not work, particularly for printing out the output of a command (summarize for instance) and for printing out graphs.

The following code is an example of this issue:

`qui log using example, replace

//OFF sysuse auto, clear histogram price //ON

/**/ img

/**/ sum price

qui log c markdoc example, markup(html) export(html) replace`

When reverting back to the latest version of Markdoc available on SSC (3.6.9), the code above works perfectly.

Thanks, Emmanuel

haghish commented 6 years ago

your code is false. you specify the markup(html) ONLY when you have written the document using HTML codes.