Skip to content

Commit b69a567

Browse files
authored
feat: add external-link lua filter
1 parent 5f6937f commit b69a567

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

_extensions/external-link.lua

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
function Link(el)
2+
if el.target:match('^https?://') then
3+
el.attributes.target = '_blank'
4+
end
5+
return el
6+
end

braille-display.qmd

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: "How to Request an NLS eReader Braille Display?"
33
format: html
4+
filters:
5+
- external-link.lua
46
---
57

68
## Purpose of this Page

0 commit comments

Comments
 (0)