I wrote a Link page in Markdown and wanted the links to open in a new browser window. So I needed to implement _target="blank" in any way. Shortcodes to the rescue:
The shortcode is named {{< target-blank >}} and the content is
That is true, but my point was including “open in new window” as the title attribute isn’t what it is made for; the title should provide more context about the contents of the link, rather than the operation being used.
A shortcode like this would also be necessary for rel="nofollow", rel="noreferrer" and rel="noopener" links until Blackfriday v2 is built into Hugo, but even then the syntax only allows for a global option.