Show HN: CSS to render Markdown as unrendered Markdown
gist.github.com
gist.github.com
I'm sure there was another one too. I was going to make a WordPress theme with it at the time, but never got around to it.
You can go in the opposite direction with markdown.css too: http://kevinburke.bitbucket.org/markdowncss/
I approve.
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.
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-g...
I often find myself using 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.
This is the jQuery README.md rendered as html, then with a series of angular directives to convert that rendered markdown back to what the source would have looked like.