Sometimes I have styled text on the clipboard that I would like to put into a Markdown or HTML document. When I paste into any document, it appears as plain text stripped of any style info.<div><div><br></div><div>Is it possible for a Textmate bundle to capture the paste and transform the styled text to the syntax of the current buffer? E.g. styled text "This is bold and this has a link" would paste into a Markdown doc as "This is **bold** and this has a [link](<a href="http://example.com">http://example.com</a>)" and into an HTML doc as "This is <b>bold</b> and this has a <a href='<a href="http://example.com/">http://example.com/</a>'>link</a>".</div>

<div><br></div><div>If this isn't possible, is anyone else interested in having this feature in Textmate or developing a system service for it?</div><div><br></div><div><div name="mailplane_signature"><br>Turadg Aleahmad<br>

<a style="font:x-small sans-serif;color: #66F;text-decoration:none" href="http://www.cs.cmu.edu/~taleahma/">PhD student</a>, <a style="font:x-small sans-serif;color: #66F;text-decoration:none" href="http://hcii.cmu.edu">HCII</a></div>

<br></div></div>