Links with attributes like target, class, etc


#1

There is a need for implementation of the target attribut for links

Given is a common real-world scenario like this

<a href="http://example.com/" target="_blank">Hello, world!</a>

For sure, other attributes are considerable, too: class, style, etc.

Related threads:

Proposed at http://fletcher.github.io/MultiMarkdown-5/syntax.html#linkandimageattributes as a formatted ![image][] and a [link][] with attributes are:.

[image]: http://path.to/image "Image title" width=40px height=400px
[link]:  http://path.to/link.html "Some Link" class=external style="border: solid black 1px;"

Would be great to see this come to life, soon! :slight_smile:


#2

I, for one, am glad that there isn’t native support for the [target] attribute, because it’s bad for UX (and accessibility!). Please reconsider your use case for [target].


In any event, generic attribute syntax is already being discussed in another thread.


#3

@zzzzBov your’re absolutely right: it should be a generic attribute syntax!