Attaullah Shah
Moderator
Post count: 70

You can enter Stata codes and output inside the <pre> </pre> tags, e.g., <pre> some Stata code here </pre> This will appear as:

some Stata code here

Please also note that html converts the Stata’s local macro symbol ` to code, therefore, you need to use the html escape sequence of &grave; instead of ` You can also write it as &#96; instead of &grave;.