diff --git a/packages/typedoc-plugin-markdown/src/theme/markdown-themeContext.ts b/packages/typedoc-plugin-markdown/src/theme/markdown-themeContext.ts index 789b33a6f..1eef9e9cf 100644 --- a/packages/typedoc-plugin-markdown/src/theme/markdown-themeContext.ts +++ b/packages/typedoc-plugin-markdown/src/theme/markdown-themeContext.ts @@ -136,7 +136,7 @@ export class MarkdownThemeContext { const publicPath = this.options.getValue('publicPath'); if (publicPath && !ignorePublicPath) { - return encodeURI(path.join(publicPath, url)); + return encodeURI(path.join(publicPath, url).replace(/\\/g, '/')); } const baseUrl = path.relative(