Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lilyball
on Dec 29, 2016
|
parent
|
context
|
favorite
| on:
Markdown.css – Make HTML look like plain-text mark...
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.
_ugfj
on Dec 29, 2016
[–]
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.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: