Jump to content

Display, don't download, HTML file in 7.1

Recommended Posts

Site URL: https://stat-learning.squarespace.com/resources

I have an HTML file that I would like to display in a new browser tab. Is there a way to display, instead of download, the file in 7.1? I don't easily have access to a non-squarespace server where I can host the file and post a link to it. The HTML is too long to put into a code block (and then you get the header and footer anyway).

To see what I mean, on this page: https://stat-learning.squarespace.com/resources# (password: springer) click on "Chapter 2 .Rmd File" and you'll see that it's downloading in the new tab instead of displaying.

Thank you in advance!

Link to comment

Edit the text block with the links.

For each link click on it and a dialog will appear .

2125721890_ScreenShot2021-01-14at11_47_24AM.png.17038d07d73feda019127db5cd852030.png

Click on the EDIT button and the dialog will change.

1329108839_ScreenShot2021-01-14at11_47_42AM.png.a9549e6bfea5aa74854f5203cdd93672.png

Click on the gear icon and the Web Address dialog will appear.

2008990668_ScreenShot2021-01-14at11_47_52AM.png.aeaacead84ad8ea7fe81a4bdc768b979.png

Turn off the Open in New Window option and click SAVE.

1275227303_ScreenShot2021-01-14at11_48_04AM.png.8c978f09dffab1b75f2a92f978851ff3.png

Click Apply.

566321700_ScreenShot2021-01-14at11_48_16AM.png.c395ac4267dbdb8eb3af2eeb9f03bd68.png

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

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.