Commit 87cb97f0 authored by Damian Janus's avatar Damian Janus Committed by Bartłomiej Górnicki
Browse files

feat!: add different CSS classes for internal and external links

BREAKING CHANGE: API change
 * removed `addCssClassToLinks` option
 * added `cssClassForInternalLinks` option to specify a class that will be added to every internal link
 * added `cssClassForExternalLinks`option to specify a class that will be added to every external link
 * added `addExternalCssClassToMatchingLinksFn` function to determine whether the link is external or not. The result of the functions is used to select `cssClassForInternalLinks` or `cssClassForExternalLinks` to add to the link.
parent 235f3e6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment