maiertech / gatsby-themes

Gatsby themes for @maiertech websites.
https://digital-garden.examples.maier.tech/
0 stars 1 forks source link

basePath does not work for links inside MDX files #232

Open maiertech opened 3 years ago

maiertech commented 3 years ago

All themes have a basePath option that allows adding prepending paths with basePath. This does not work for internal links in MDX files.

Check if Gatsby's path prefix can be used as an alternative solution.

maiertech commented 3 years ago

@maiertech/gatsby-theme-tweets-core supports the solution with pathPrefix. This requires gatsby-plugin-catch-links to be included to ensure that local links in MDX files get updated, too.