If you interpret Markdown that way, all you've done is encapsulate HTML and JavaScript. Nothing gets simpler.
Exactly the problem.
Exactly the problem.