File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
components/base/external-link
utils/formatters/markdown Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ const ExternalLink = (props: Props) => {
1818 )
1919
2020 return (
21- < Link { ...rest } target = "_blank" >
21+ < Link
22+ { ...rest }
23+ target = "_blank"
24+ rel = "noopener noreferrer"
25+ >
2226 { iconPosition === 'left' && < ArrowIcon /> }
2327 { children }
2428 { iconPosition === 'right' && < ArrowIcon /> }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const remarkLink = (): ((tree: Node) => void) => (tree: any) => {
1010 // External link
1111 const [ text ] = node . children || [ ]
1212 node . type = 'html'
13- node . value = `<ExternalLink href="${ node . url } " rel="nofollow noopener noreferrer">${ text ?. value || EXTERNAL_LINKS . redisIo } </ExternalLink>`
13+ node . value = `<ExternalLink href="${ node . url } " rel="nofollow noopener noreferrer" variant="small-inline" iconSize="S" >${ text ?. value || EXTERNAL_LINKS . redisIo } </ExternalLink>`
1414 }
1515
1616 if ( node . title === 'Redis Cloud' ) {
You can’t perform that action at this time.
0 commit comments