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 99b63f0 commit a952c84Copy full SHA for a952c84
src/lib/server/markdown.js
@@ -116,7 +116,7 @@ const default_renderer = {
116
});
117
},
118
link: (href, title, text) => {
119
- if (href?.includes('$docs')) {
+ if (href?.startsWith('$docs')) {
120
const url = href.replace('$', 'https://svelte.dev/');
121
return `<a target="_blank" href="${url}">${text}</a>`;
122
} else if (href?.includes('$kitdocs')) {
0 commit comments