diff --git a/packages/typedoc-plugin-markdown/src/theme.ts b/packages/typedoc-plugin-markdown/src/theme.ts index e50fe55d..9f955bed 100644 --- a/packages/typedoc-plugin-markdown/src/theme.ts +++ b/packages/typedoc-plugin-markdown/src/theme.ts @@ -156,7 +156,7 @@ export class MarkdownTheme extends Theme { this.getUrl(reflection.parent, relative) + this.filenameSeparator + url; } - return url; + return url.replace(/^_/, ''); } applyAnchorUrl(reflection: Reflection, container: Reflection) {