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 270256e commit 21dde06Copy full SHA for 21dde06
docusaurus.config.js
@@ -277,7 +277,10 @@ module.exports = {
277
handlers: {
278
link: (node) => {
279
const isUrlInternal = isInternal(node.url);
280
- return `[${node.title}](${isUrlInternal ? `${config.absoluteUrl}${node.url}` : node.url})`;
+ const url = isUrlInternal ? `${config.absoluteUrl}${node.url}` : node.url;
281
+
282
+ if (node.title) return `[${node.title}](${url})`;
283
+ return url;
284
},
285
286
0 commit comments