Re:Markdown.css – Make HTML look like plain-text markdown
by chx on Thursday December 29, 2016 @01:31AM
(#13275996)
It 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 and https://github.com/niklasvh/jquery.plugin.clipboard here.
[ Parent
| on HN ]
Re:Markdown.css – Make HTML look like plain-text markdown
by blowski on Thursday December 29, 2016 @05:11AM
(#13276570)
So
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?