Jump to content

Expandable text within markdown block

Recommended Posts

Site URL: https://akhusky.dog/test

Hey everyone,

I've been trying existing code found in all the posts related to expandable/accordion text, but I'm finding that it only accommodates title text and body text below. I have a markdown block that has quite a bit of copy, and I want the user to click "Read more" and have the text below expand. How can I achieve this? Some of the code I have used successfully allows the markdown block to expand, but it somehow (and seemingly arbitrarily to me) screws up the formatting. How can I make "Read more" the trigger?

Here's the website:
https://akhusky.dog/test

Thanks all!

Edited by sigglin
Link to comment
  • 3 weeks later...
On 6/18/2021 at 1:04 PM, sigglin said:

Site URL: https://akhusky.dog/test

Hey everyone,

I've been trying existing code found in all the posts related to expandable/accordion text, but I'm finding that it only accommodates title text and body text below. I have a markdown block that has quite a bit of copy, and I want the user to click "Read more" and have the text below expand. How can I achieve this? Some of the code I have used successfully allows the markdown block to expand, but it somehow (and seemingly arbitrarily to me) screws up the formatting. How can I make "Read more" the trigger?

Here's the website:
https://akhusky.dog/test

Thanks all!

/test is 404

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 7 months later...

Create an account or sign in to comment

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

×
×
  • 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.