Opening links in a new window by default
- Adding the following JavaScript to HTML Metadata
<!-- Open links in a new tab -->
<script type="module">
const links = document.querySelectorAll('.page-content a');
for (const link of links) {
link.target = '_blank';
}
</script>
<!-- Open links in a new tab -->