Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Opening an external link in a new window in markdown


spotonlynne

Question

Site URL: https://www.roadsafetytrust.org.uk

Hi.

I am not a coder at all and have never used markdown until today (but have produced quite a lot of Squarespace sites). What I would like to know is if anyone has found a way to make external links open in a new window when using markdown? I wanted to produce a list of FAQs that you click on the title to expand. I thought I had found the solution, until I tested the page. See: www.roadsafetytrust.org.uk/faqs-md

If anyone has a solution, I would be really, really grateful. Even if it means buying a plug-in.

Thank you!

Lynne

Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

Hi Lynne You can add HTML to Markdown Blocks, so instead of using the link button, you can simply add the HTML. For example: <a href="www.squarespace.com" target="_blank">Squarespace&lt

You can also use the Accordion Plugin from sqspthemes.  (affiliate link) With this plugin you can use the Text Block for Accordion Content, so you will insert the link with the customization that

Posted Images

3 answers to this question

Recommended Posts

  • 0

Hi @spotonlynne

We made a cool FREE extension for FAQ. It works like SQSP other elements. You don't need code knowledge! And you don't need HTML Code block or Markdown or ....

Just see this video and install from here.

 

 

4.thumb.jpg.c77fd53f4ee20acf1681bbdfe21c5aff.jpg

 

If you need more customization feel free to contact me via DM or Skype: LeopoldJobs.

Best,
Leopold

Edited by IXStudio

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Link to post
  • 0
30 minutes ago, spotonlynne said:

What I would like to know is if anyone has found a way to make external links open in a new window when using markdown?

Hi Lynne

You can add HTML to Markdown Blocks, so instead of using the link button, you can simply add the HTML. For example:

<a href="www.squarespace.com" target="_blank">Squarespace</a>

Change the url and description to match your needs. 

Note that this will open a new “browsing context”. This usually means "new tab" instead of "new window", but it will depend on the visitor’s browser settings. You have no influence over that.

-Paul

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company helping Squarespace users by building the features that Squarespace didn't include.
Explore our range of Squarespace Extensions, including the Wishlist, and Datepicker Extension or book a Squarespace Expert for 1:1 help. Note that links in my posts may be affiliate links.

Link to post
  • 0

You can also use the Accordion Plugin from sqspthemes.  (affiliate link)

With this plugin you can use the Text Block for Accordion Content, so you will insert the link with the customization that opens in a new window.

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...