markdoc icon indicating copy to clipboard operation
markdoc copied to clipboard

Add options to include comments in the generated report

Open mronkko opened this issue 3 years ago • 3 comments

I am using markdoc on my course where we learn statistical research methods using Stata. As a part of the course, the students produce a do-file that answers a research question that I give the students. Then the students export the log of the analysis file to a word document and write their interpretation.

I just realized that markdoc does not include the comments in the do file in the output. I understand that this is useful when the purpose is to generate reports. However, for my use case it would be useful to add an option that would print the comments just as they appear in Stata into the word document. This would allow me to check not also how the students interpreted the results by writing in Word, but how they documented that Stata do-file itself. I am not looking for any fancy formatting, but just printing the comments as if they were Stata commands that did not produce any output. I hope that this comment makes sense.

mronkko avatar Jan 27 '21 13:01 mronkko