Skip to content

Latest commit

 

History

History
111 lines (63 loc) · 2.73 KB

bare-urls.md

File metadata and controls

111 lines (63 loc) · 2.73 KB

Detailed Results Bare URLs

For more, see https://example.com. {MD034}

For more, see https://example.com/. {MD034}

For more, see https://example.com/?query=string#hash. {MD034}

For more, see https://example.com/info.htm. {MD034}

Visit https://example.com, then refresh. {MD034}

The site (https://example.com) is down. {MD034}

Some documents use to link.

Or to link.

Or repeat the URL https://example.com.

Or https://example.com/info.htm.

This is allowed to avoid embedding angle brackets in HTML Text https://example.com.

As is https://example.com/info.htm text.


Another violation: https://example.com. {MD034}


Another violation: https://example.com. {MD034}

This is not a bare link.

Nor is link.

Or https://example.com/path-with(parens).

URLs in HTML attributes are not bare:

Text

URLs surrounded by HTML tags are not bare:

Not https://example.com bare.

Not

https://example.com
bare.

Not bare due to being in an HTML block: https://example.com https://example.com

https://example.com

URLs in link and image text are not bare:

Text link to https://example.com site text.

Image for https://example.com site text.

URLs may end with a dash: https://example.com#heading- {MD034}

... when explicit: https://example.com#heading-

... when embedded: https://example.com#heading-

Links with spaces inside angle brackets are okay: blue jay

Email addresses are treated similarly: [email protected] {MD034}

Angle brackets work the same for email: [email protected]

Unusual email addresses are handled: <[email protected]>


Links bind to the innermost [link that is-a-valid link](https://example.com) {MD034}

But not if the link [is-not-a-valid] link

Escaping both inner square brackets avoids confusion: link [is-not-a-valid] link