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 a0b31bc commit b457b3dCopy full SHA for b457b3d
packages/gatsby-plugin-mdx/utils/get-source-plugins-as-remark-plugins.js
@@ -20,7 +20,7 @@ module.exports = async function getSourcePluginsAsRemarkPlugins({
20
pathPlugin = () =>
21
async function transformer(markdownAST) {
22
// Ensure relative links include `pathPrefix`
23
- visit(markdownAST, `link`, node => {
+ visit(markdownAST, [`link`, `definition`], node => {
24
if (
25
node.url &&
26
node.url.startsWith(`/`) &&
0 commit comments