Hello,
I am using STATA markdown. I am getting HTML output through 'dyndoc script.txt' command.
When I write down below codes, then the code below foreach x in `vars2' { is not showing up on the HTML of code block in which foreach is included (I attached screenshot.)
It happens whenever I use foreach statement in markdown.
Code:
~~~~
<<dd_do: nooutput>>
local vars2 stp_w_d stp_c_d
foreach x in `vars2' {
histogram `x', width(0.1) frequency addlabel
graph export `x'_dist.svg, replace
}
<</dd_do>>
~~~~
Output:

What should I do to show whole codes in HTML output?
I am using STATA markdown. I am getting HTML output through 'dyndoc script.txt' command.
When I write down below codes, then the code below foreach x in `vars2' { is not showing up on the HTML of code block in which foreach is included (I attached screenshot.)
It happens whenever I use foreach statement in markdown.
Code:
~~~~
<<dd_do: nooutput>>
local vars2 stp_w_d stp_c_d
foreach x in `vars2' {
histogram `x', width(0.1) frequency addlabel
graph export `x'_dist.svg, replace
}
<</dd_do>>
~~~~
Output:
What should I do to show whole codes in HTML output?
Comment