4 ms·
> You've basically just built an html-to-plaintext conversion utility That's not what this is. Try copying the markdown so you can edit it as you suggest and
by lisper 10y ago
> You've basically just built an html-to-plaintext conversion utility
That's not what this is. Try copying the markdown so you can edit it as you suggest and you will find it doesn't work. The output looks like markdown, but it isn't markdown, and that's the source of the negative reactions. Having a one-to-one correspondence between representation and rendering is the main thing that makes markdown useful. Making something look like markdown but not actually be markdown strips it of nearly all of its utility.
- chx 10y agoIt only needs a little JS to make it work, though. You just need to manipulate the selected text as described here http://stackoverflow.com/a/36582615/308851 http://stackoverflow.com/a/36582615/308851 and https://github.com/niklasvh/jquery.plugin.clipboard https://github.com/niklasvh/jquery.plugin.clipboard here.
- blowski 10y agoSo 1. Take some HTML 2. Use CSS to make it look like Markdown 3. Use JavaScript to make it behave like Markdown. Why not skip step 2?
- coldtea 10y ago>Having a one-to-one correspondence between representation and rendering is the main thing that makes markdown useful. And looking simple with minimal formatting is the second thing. This idea taps on that second thing.