When str is a string of markdown code, Markdown.parse(str) and @eval @md_str $str work fine.
str
Markdown.parse(str)
@eval @md_str $str