Jump to content

How to insert page link in Markdown block

Recommended Posts

I am trying to figure out how to correctly use this number reference format that squarespace uses for inserting links in markdown blocks. Below is the code that I have for the block. I'd like my custom button to link to the "eligibility" page. What I get now is a 400 error page. Thanks in advance for any help!

<div style="background-color:#002447;color:#ffffff;padding:30px">The focus of Kaihatsu Mentoring is to find the best university options for the fencer. The student athlete will benefit from advice on university and tournament planning, analysis, and the insight gained from Kaihatsu’s over 35 years of fencing experience and 27 years of NCAA recruiting and coaching.
<br>
<p><a href=["/eligibility"][1] class="myButton">Learn more</a></p></div>

[1]: /eligibility

Link to comment
  • Replies 2
  • Views 2.2k
  • Created
  • Last Reply

Okay, I figured out where I went wrong.  Below is the button code that correctly enables the link. If you know of a better way to do this, feel free to share.

<p><button class="myButton">[Learn more][1]</button></div>   

[1]: /eligibility   

image.png

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.