5 ms·
It's interesting and seems well implemented but I don't understand the use case? Why would you need this? If you want plain text inside HTML isn't what the <pr
by TwistedWeasel 14y ago
It's interesting and seems well implemented but I don't understand the use case? Why would you need this?
If you want plain text inside HTML isn't what the <pre> tag is for?
- kilovoltaire 14y agonote that it's markdown, not just plain text. i think it's mostly just for fun though / as an impressive CSS trick.
- mrcoles 14y agoMostly because it's fun in a nerdy way, and it was an interesting challenge to implement. I decided to use it for a demos page on my site: http://mrcoles.com/demo/ http://mrcoles.com/demo/ Also, there's a bookmarklet at the top of the markdown-css demo that let's you apply the markdown styles to any page, which is like a harder-to-read version of readability or a quick way to see how well layed out the markup is on any page.
- deleted 14y ago[deleted]
- homosaur 14y agoWell, maybe you want the HTML formatting without the styles or all the CSS classes. Say you wanted to do something like grab all the docs off a website and then apply your own styling or put them on an internal reference. I can see that being a good use case to allow that for open documentation.
- MJR 14y agoAs a developer you may not want it - but my friends who are copywriters, editors and content strategists will LOVE this. A simple way to grab existing web content as markdown, which many are already using to write and edit their content.
- TwistedWeasel 14y agoThat makes more sense to me now. Thinking about it I see it being useful to help with some currently painful tasks like converting old wiki content that has a non-standard wiki markup syntax (or no markup at all) into markdown.
- shmageggy 14y agoThe problem (at least for me on FF18/Win7) is that you can't just copy/paste the converted markdown, since it is just a display trick, not actual parsed and generated raw text.
- bambax 14y agoExactly. I had made a converter that used XSLT and produced actual selectable and copy-able (?) markdown text; didn't gain much traction; I'll post it again to see if anyone's interested.
- bambax 14y agoHere is my version of a Markdown converter: http://markitdown.medusis.com/ http://markitdown.medusis.com/ Converts any rich text to Markdown (vanilla Markdown, but selectable).
- LukeShu 14y agoSame with FF18 on other platforms. (Iceweasel 18 on Parabola)
- voyou 14y agoBut this doesn't convert HTML to Markdown (there's already pandoc for that), it displays it as if it were Markdown. It's a clever example of what you can do with CSS, as well as perhaps poking fun at the current popularity of systems like Markdown which artificially restrict us to the IO capabilities of 70s VTs.
- shedside 14y ago
- raganwald 14y agoMaybe it's like "Readbility" and those other ways of de-cluttering a web page or standardizing your style as a reader? If you have a browser that is set up to let you choose a style sheet for display, you now have a "distraction-free reading environment." I, for one, will be adding this to http://ristrettolo.gy http://ristrettolo.gy and http://combinators.info http://combinators.info. Markup -> HTML -> Markup. It's a crazy world!
- RickHull 14y agoMarkup -> HTML -> Markup s/Markup/Markdown/ # ?