News for hackers. Stuff that matters.
Re:Markdown.css – Make HTML look like plain-text markdown by eridius on Wednesday December 28, 2016 @07:27PM (#13274858)
Cute. But is there any way to make the markdown formatting text actually selectable/copyable? Right now I can't select it, and if I copy the text surrounding it, the markdown formatting simply vanishes.
Re:Markdown.css – Make HTML look like plain-text markdown by chx on Thursday December 29, 2016 @01:42AM (#13276037)
There is. You just need to manipulate the selected text as described here http://stackoverflow.com/a/36582615/308851 and https://github.com/niklasvh/jquery.plugin.clipboard here.