do-markdownit
do-markdownit copied to clipboard
Add plugin to set attributes on links
trafficstars
Type of Change
- Markdown-It Plugins: Link attributes
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.