You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
+++ title = "Links with target attribute" tags = ["links"] draft = false [blackfriday] hrefTargetBlank = false +++
This link (to Hyperlinks chapter in Org manual) will open in a new tab
as it is annotated with target="_blank".
Here's the same link but with target="_self" annotation. So
clicking it will open that link in this same tab!
Here's the same link again, but this time there is no #+ATTR_HTML
annotation. So the behavior of clicking this link will depend on the
browser (typically an external link will open in a new tab
automatically).
Image linked to image with target attribute
{{
Above is a link to an image. The width attribute of 10% though
must apply only to the image, and not to the link.
- Note
- The
targetattribute is discarded though in this case because of the Hugofigureshortcode limitation.. there is no way to pass thetargetor any other attribute to the<a>element inside the<figure>element that thefigureshortcode constructs.