4 ms·
Any usecases for this? I was thinking that this could be useful for giving people markdown to copy directly, but css:before and after doesn't get copied. I'm
by captn3m0 12y ago
Any usecases for this?
I was thinking that this could be useful for giving people markdown to copy directly, but css:before and after doesn't get copied.
I'm so gonna use this _somewhere_, just not sure where.
- ImJasonH 12y agoI didn't have any real use cases in mind when I made it, I just wanted to see if it was possible. In theory you could use it to demonstrate the underlying Markdown for some HTML, but unfortunately I haven't been able to figure out how to make the CSS ::before and ::after content user-selectable[0], so you wouldn't be able to copy it back out to make a simple HTML-to-Markdown converter. [0] http://stackoverflow.com/questions/19914349/how-can-i-make-generated-content-selectable http://stackoverflow.com/questions/19914349/how-can-i-make-g...
- leeoniya 12y agothe table stuff doesnt work too well either, understandably. if you actually want to do conversion though, check out reMarked.js [1], disclaimer: mine. it's not too heavy, either. [1] https://github.com/leeoniya/reMarked.js https://github.com/leeoniya/reMarked.js
- anoother 12y agoYes. I often find myself using http://markdown-here.com/ http://markdown-here.com/ to compose an email, and then wanting to get back at the source to send another, slightly modified email, or to insert into a README.md. This will make my life a lot easier. Just need to package it up into a nice browser toolbar button.
- masukomi 12y agono, because you can't copy paste the tags. they're just visual sugar that isn't actionable.
- stronglikedan 12y agoComplex tables? You could use a WYSIWYG HTML editor to quickly create them, and then use this to convert to MD. That's the only thing I can think of.
- makenosound 12y agoNot super practical, but I use [something similar on my site](http://makenosound.com/2012/10/07/going-paperless.html http://makenosound.com/2012/10/07/going-paperless.html) as a stylistic thing.