News for hackers. Stuff that matters.
Re:A chrome extension to copy stylelessly by derefr on Friday July 25, 2014 @11:57AM (#8085880)
It’s really the difference between “rich text” (what you get from Markdown, what you used to get in Wordpad, sort of what HTML2 is like) and “styled text” (what you get from CSS.)

In professional publishing tools (InDesign, Publisher), these are rightly thought of as two separate formats: your content is rich text, written by a journalist or copywriter and saved as .rtf. Your publication is a set of flows, each of which has a data binding to a separate rich-text document, and a set of styling information applied on top.

Really, I’d be just fine if pasting text kept the bold parts bold, the italics italicized, and the links linked (i.e. kept the “rich text” parts) between, say, an HTML page and a Word document. What I don’t want is for the Word document to render the text in 11pt #222222 Helvetica, just because that’s what the page was styled like. That’s a property of the flow the text was in, not the text itself.

There are no comments on this comment yet.