I would like to implement Toast UI. However, there is a requirement to be able to embed an iframe into the output.
How do you put an iframe into a markdown script?
An <iframe>
is an HTML tag, and Markdown supports inline HTML. You should be able to just use it.
(And this is a bit pedantic, but Markdown files aren't "scripts". Markdown is a markup language, not a programming language.)