You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/node/logger/hint.ts
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,3 +97,14 @@ export function hintNavJsonChangeThenPanic(
97
97
process.exit(1);
98
98
}
99
99
}
100
+
101
+
letisLogged=false;
102
+
exportfunctionhintRelativeMarkdownLink(){
103
+
if(isLogged){
104
+
return;
105
+
}
106
+
isLogged=true;
107
+
logger.info(
108
+
'[Rspress v2] Markdown links without "./" prefix are now relative links, e.g: [](guide/getting-started) is equal to [](./guide/getting-started). You can rewrite it to [](/guide/getting-started) to always use absolute links, or use [](./getting-started.md)',
0 commit comments