[TxMt] target="_blank" in Markdown
Rob McBroom
textmate at skurfer.com
Fri Dec 15 21:13:37 UTC 2006
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.
More information about the textmate
mailing list