arturadib / strapdown

Instant and elegant Markdown documents in the browser
http://strapdownjs.com
MIT License
2.48k stars 410 forks source link

expose to global if no markdownEl #15

Closed hden closed 11 years ago

hden commented 11 years ago

Handy when markdown element are asynchronously inserted to DOM. Just call window.strapdown(window, document)

arturadib commented 11 years ago

Hi thanks, I think this is a neat idea, but for this fork I was hoping to keep things pretty simple -- adding just enough HTML/JS complexity (<xmp>, and <script> tags) so that it works, but otherwise it's just a static Markdown doc. I didn't have any plans to support async loading of text, etc, though that'd be a neat library.