WiseDogStudio Posted February 16, 2020 Share Posted February 16, 2020 Site URL: https://www.mickeysphotography.uk Hi, is it possible to have links that are in a markdown block open in new page? I select this option when creating the link but the link always opens on the same page. Thanks Link to comment
tuanphan Posted February 16, 2020 Share Posted February 16, 2020 You can use some custom code to do this. Can you share link to a markdown on your site? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
WiseDogDesign Posted March 15, 2020 Share Posted March 15, 2020 Thanks for the reply Tuanphan, the site is https://www.mickeysphotography.uk/faqs/wedding-photographer/oxfordshire Link to comment
tuanphan Posted March 15, 2020 Share Posted March 15, 2020 26 minutes ago, WiseDogDesign said: Thanks for the reply Tuanphan, the site is https://www.mickeysphotography.uk/faqs/wedding-photographer/oxfordshire Use this code <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $(document).ready(function () { $('.markdown-block a').attr('target','_blank'); }); </script> Reference: https://beaverhero.com/squarsepace-markdown-block/#Markdown_Open_Link_in_New_Tab Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.