[TxMt] target="_blank" in Markdown

Lloyd Williams wlw3 at mac.com
Fri Dec 15 22:35:41 UTC 2006


Thank you, but I have only  the slightest idea about what you are  
talking and no idea how to go about doing that. I will read up on  
snippets this weekend. Thanks, Lloyd


On Dec 15, 2006, at 5:13 , Rob McBroom wrote:

> On Dec 15, 2006, at 3:23 PM, Lloyd Williams wrote:
>
>> How do I "wrap selection as link" and set target="_blank"?
>> Is this possible in Markdown.
>> Syntax on Daring Fireball does now mention.
>
> It is mentioned in a way. It basically says "if you want to insert  
> some HTML, then insert some HTML".
>
> In this case, I think you'll have to use an actual HTML <a> tag  
> instead of the Markdown syntax for your link and if you want it to  
> include `target="_blank"` by default, you'll have to create a  
> modified "Wrap Selection as Link" snippet.
>
> You'll probably want to base this snippet on the one in the HTML  
> bundle and maybe add ` ${2:target="_blank"}` so you can easily tab  
> to it and remove it if you don't want it.
>
> ---
> Rob McBroom
> <http://www.skurfer.com/>
> I didn't "switch" to Apple... my OS did.
>
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list