Links
Always use inline links.
Use inline (opens new window) links instead of reference (opens new window).
👍 Correct code for this rule:
[Plone](https://plone.org "Website of Plone")
👎 Incorrect code for this rule:
[Plone](#plone)
## Plone
[Plone][plone-info]
[plone-info]: https://plone.org
# No ID inner spacing
Do not use inner spaces within link IDs.
remark-lint: no-inline-padding (opens new window)
👍 Correct code for this rule:
[Plone](https://plone.org "Website of Plone") is awesome!
👎 Incorrect code for this rule:
[Plone]( https://plone.org ) is awesome!
# No trailing or leading title spaces
Do not use trailing or leading spaces in link titles.
Add necessary spaces before or after the brackets/braces ([]
, ()
) to format links within flowing text.
👍 Correct code for this rule:
[Plone](https://plone.org "Website of Plone") is awesome! [Guillotina](https://guillotina.readthedocs.io/en/latest/ "Website of Guillotina") is fast!
👎 Incorrect code for this rule:
[Plone](https://plone.org "Website of Plone") is awesome is fast!
# Autolinks
Try to avoid them. If you have to use, always add a valid protocol when using autolinks (opens new window).
remark-lint: no-auto-link-without-protocol (opens new window)
👍 Correct code for this rule:
https://example.com
https://www.example.com
http://example.com
http://www.example.com.com
mailto:code@example.com
👎 Incorrect code for this rule:
www.example.com
example.com
# Unique IDs
Reference link IDs must be unique within a document file.
remark-lint: no-duplicate-definitions (opens new window)
👍 Correct code for this rule:
[Plone](https://plone.org "Website of Plone")
[Guillotina](https://guillotina.readthedocs.io/en/latest/ "Website of Guillotina")
Incorrect code for this rule:
[Plone](https://plone.org "Website of Plone")
[Plone](https://plone.de "Website of Plone")