digitalocean / do-markdownit

Markdown-It plugin for the DigitalOcean Community.
https://www.digitalocean.com/community/markdown
Apache License 2.0
80 stars 17 forks source link

Add plugin to set attributes on links #108

Closed MattIPv4 closed 4 months ago

MattIPv4 commented 4 months ago

Type of Change

What issue does this relate to?

N/A

What should this PR do?

Allows for custom attributes to be set on all links generated by the Markdown. For example, this would allow for hrefs to be transformed if required, or to modify the rel for links in user-generated content.

What are the acceptance criteria?

Test cases cover expected usage. Documentation is correct.