Closed adamrossnelson closed 6 years ago
This will support di "```"
and di "``` stata"
but there can be no '
characters in the string. Inline code, i.e. ...
is not supported, and may never be supported because it would be hard to know that there shouldn't just be an inner macro.
Originally discussed
https://www.reddit.com/r/stata/comments/79l8ge/what_color_scheme_do_you_use_in_stata/
Line 3, which is intended to place github flavor codeblock markdown, interrupts the syntax highlighting. Stata's editor highlights this just fine.
Workaround
More on this use case
Demonstration of using stata log file feature for purposes of automated generation of markdown documents:
https://github.com/adamrossnelson/StataQuickReference/blob/master/md_demo.do (do file) https://github.com/adamrossnelson/StataQuickReference/blob/master/wkspc/md_demo.md (output)