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 86914e2 commit 8c857a3Copy full SHA for 8c857a3
src/theme/MDXComponents/A.js
@@ -7,9 +7,16 @@ function hasProtocolPrefix(str) {
7
return str.startsWith("http://") || str.startsWith("https://");
8
}
9
export default function MDXA(props) {
10
+ if (props?.href?.includes("https://github.com/datafuselabs/databend/pull/")) {
11
+ return <Link {...props} />;
12
+ }
13
if (hasProtocolPrefix(props?.href)) {
14
return (
- <Tooltip destroyTooltipOnHide overlayClassName={styles.tooltip} title="Open in the new tab">
15
+ <Tooltip
16
+ destroyTooltipOnHide
17
+ overlayClassName={styles.tooltip}
18
+ title="Open in the new tab"
19
+ >
20
<span className={styles.linkWrap}>
21
<a {...props} target="_blank" rel="noopener noreferrer" />
22
<LinkSvg />
0 commit comments