Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Is there a way to have links open in a new tab or window when using Markdown?
Thanks,
Cliff
Cliff Fiess Photography: www.cfphoto.com
Commercial photography and digital imaging services
Offline
I'm pretty sure you'll need to do that with regular html
<a href="http://www.somesite.com" onclick="window.open(this.href); return false;">Some site</a>
or
<a href="http://www.somesite.com" target ="_blank">Some site</a>
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
As the command is to be put in a file in 'fragments', it does not work with regular html.
This is how the script reads in 'fragments":
* [CameraClubOosterbeek](http://www.cameracluboosterbeek.nl)
* [Lightroom Web-Plugins](http://www.theturninggate.net)
Now, when I add target="_blank" I only get the new text to see when I look into my site.
Do you have another suggestion?
Offline
Regular html works fine, but don't try to format it as you would Markdown. Just use the html tags, no brackets and parentheses
This:<a href="http://yoursite.com" target="_blank">your site</a>
Rather than this: [your site](http://yoursite.com target="_blank"), which won't work
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1