Thank you again Creedon. That definitely works, but I would have to recode the entire markdown. If there is more simple Javascript to alter the entire page of PDS and SDS's to open in a new tab, that would be much easier. I have tried a few things like
window.open(url, '_blank').focus();
<div onclick="openInNewTab;">SDS</div>
and...
<script>
$('a[href*="pdf"]').click(function(e) {
e.preventDefault();
var documentUrl = $(this).attr("href"); // get the url of the pdf
window.open(documentUrl, '_blank');
});
</script>
within the header code of the page. Can't find the exact code. If you have any suggestions, that would be great. If not, I will alter the markdown code as you suggested.
Thank you again!
Mia