Sommerregen / grav-plugin-external-links

This plugin adds small icons to external and mailto links, informing users the link will take them to a new site or open their email client.
Other
16 stars 14 forks source link

Link to PDF not opening in _blank #26

Open delml opened 5 years ago

delml commented 5 years ago

I am using Grav 1.5.5 and the External Link plugin version 1.6.1

I turned on "treat links starting with www" as external

[CLICK HERE](https://www.mydomain.com/My%20File.pdf)

but the link was NOT getting picked up as an external link

I had to explicitly add {.external} (after the markdown link) and then add a little JS to set any "a" tags with .external to target=_blank but that means the plugin is not "doing it's thing"

Thanks Derek