I am thinking of ways to embed other docs/media (like pdf) in the same syntax, ofcoz they should be optional. What do you think ? For example , for PDF we can use pdf.js .