mathdown icon indicating copy to clipboard operation
mathdown copied to clipboard

Display images inline

Open cben opened this issue 12 years ago • 3 comments

Using similar tech to what CodeMirror-MathJax does.

cben avatar Oct 14 '13 09:10 cben

Bonus for drag-and-drop (or other attach image UI) that's automatically hosted somewhere. Like https://github.com/mark-hahn/auto-host-markdown-image does. Though uploading to an external service (e.g. imgur) without asking the user would be rude — I think I'd have to host in my own amazon S3 bucket or something...

cben avatar Jun 25 '15 12:06 cben

Seen today on ?doc=about:

                      [I wanna have fucking images here also !]

Compare to https://atom.io/packages/preview-inline which does it nicely (but requires keyboard shortcut to trigger preview). Also Typora: Typora images. And well, everything with split editor/preview does images. It's a no-brainer that it's desired.

Implementation-wise, I probably won't touch it until partial rewrite of CodeMirror-MathJax: https://github.com/cben/CodeMirror-MathJax/issues/13

cben avatar Sep 20 '15 14:09 cben

Also, would be cool to support anything that supports OEmbed - youtube, slideshare, twitter and much much more.

cf. http://pad.haroopress.com/page.html?f=smart-embedding-rich-media Not sure about @[...](http...) syntax. The user-friendly thing some sites do is to let users just paste e.g. youtube URLs. It should be possible to probe any pasted URL and proactively suggest image and/or embed syntax. Or just render bare image/embed links?

cben avatar Oct 04 '15 10:10 cben