We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e1c4c commit cdc699aCopy full SHA for cdc699a
README.md
@@ -354,6 +354,8 @@ interface CustomMatcher {
354
getLinkText?: (replacerArgs: ReplacerArgs) => string;
355
/* Custom function for extracting link URL using regex replacer args */
356
getLinkUrl?: (replacerArgs: ReplacerArgs) => string;
357
+ /* Custom function for rendering link - remember to attach press handlers! */
358
+ renderLink?: (text: string, match: CustomMatch, index: number) => React.ReactNode;
359
}
360
```
361
0 commit comments