npm / typedoc-plugin-markdown
typedoc-plugin-markdown
What changed in typedoc-plugin-markdown 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
19 breaking10 new APIs and options13 behavior and defaults3 tooling36 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittypedoc-plugin-markdown 481 changes
Breaking changes 19
Each parent under Extends is rendered as its own item instead of being joined with a dot.
The page and content begin/end hooks now fire on readme and document pages, allowing injected content such as front matter to appear there.
Symbol links without a declaration reference now warn and render as plain text instead of resolving to the nearest link.
This option was removed because its behavior is now the default; see outputFileStrategy.
The changed output file structure may require updating documentation cross references to files.
This option was renamed to entryFileName.
This option replaces entryDocument and better reflects its purpose.
This option was removed; in-page TOCs are no longer included by default.
In-page TOCs are no longer included by default; they can be added using typedoc-plugin-remark and remark-toc.
This option was removed; use title.indexPage with --textContentMappings instead.
Use this option to retain the v3 behavior where only Classes, Enums, and Interfaces have their own file.
This option was renamed to useHTMLAnchors.
This option was removed; use --typeDeclarationFormat=list instead.
Each module member is output to its own file by default; configure membersWithOwnFile to retain the v3 output behavior.
Parameters are output as a list by default; set this option to table to retain the v3 output format.
Setting theme to markdown is no longer required and should be removed.
Use this key with --textContentMappings to set the index page title instead of the removed indexTitle option.
Use --typeDeclarationFormat=list in place of the removed objectLiteralTypeDeclarationStyle option.
This option replaces namedAnchors.
New APIs and options 10
The new "none" option completely drops the parameter list/table and its heading.
Category support is addressed by this release.
Custom i18n texts are supported.
The customization model now supports setting hooks, events, and custom theming.
A separate frontmatter can now be added for the readme file.
A JSON schema is now exported.
The navigation structure is now exposed.
Navigation support is addressed by this release.
Option types are now exported.
Sidebar category support is addressed by this release.
Behavior and default changes 13
When enabled, property and method names that are not identifiers are quoted.
When enabled, external member references for Overrides, Implementation of and Inherited from render as one-line inline code instead of code blocks.
Each document group lists only its own documents.
Object members of an intersection appear under one Type Declaration heading after the type parameters.
Named tuple members render with their names and optional markers.
Type parameters, including method type parameters, receive anchors so links resolve; anchors follow parametersFormat and table-format anchors use a type-parameter- prefix.
When expandParameters is set, type parameters are expanded in signatures.
JSDoc-style <caption> labels are supported for @example tags.
Index signature declarations are rendered as blockquotes for improved consistency.
Optionality is made explicit by adding ? to the property name.
Full documentation for a returned function is shown only when meaningful comments are present, aligning with the default theme.
Rendering is improved when documented type details are present and when union types are used in parameter declarations.
Parameters with default values are marked as optional, matching the default TypeDoc theme.
Tooling 3
Methods inside object types render their call signatures, every overload, and comments across expanded objects and tables and lists; nested methods retain their path prefix.
A JSON schema for typedoc.json is now published at the package root, enabling schema-based configuration validation.
The release addresses integration with VitePress.
Fixes and other changes 36
Constructor types are rendered with their new and abstract keywords instead of as function types.
Function, constructor, union and conditional types inside intersections are parenthesised for valid rendering.
When enabled, optional members use
?instead of the invalid TypeScriptoptionalkeyword.anchorPrefix is applied to links pointing to another page, only once with the kind-dir and structure-dir routers.
Function, intersection, conditional, and type operator types are parenthesized when used as array elements or optional tuple elements to preserve the intended type.
Deprecated nested members are struck through in properties and type declaration tables, matching list format.
Returns sections render signature return types that are arrays or intersections of documented object types or @expand types instead of appearing empty.
Properties tables show an elided property default as ... instead of undefined.
entryModule matches modules only; entry-module discovery works with project documents, and readme output is written once with core routers and mergeReadme.
Parameters and return types referencing an @expand type render as the type instead of listing union members separately.
Generated file names omit #, ? and backslashes while retaining names made only of underscores, so document and underscore-function pages resolve to valid paths.
A class appears under every hierarchy root it extends or implements instead of only the first.
When lang is not English, constructor links point to their localized heading.
Pages remain inside the output directory when module or document names contain parent directory segments.
Tables mark parameters with default values as optional and use each object parameter member's own optional flag; list format also shows union-typed defaults and types for object parameters with no listable members.
Property output shows every modifier rather than only the first one found.
Relative media links are encoded so linked files with spaces in their names resolve.
Pipes are escaped in table cells, including code spans, so they do not split rows into extra columns while rendered text remains a plain pipe.
Literal values remain verbatim in code blocks, and backslashes in text outside code are escaped so displayed text matches the source.
The @example heading is translated in German, French, and Korean.
Broken links on Windows when using excludeScopesInPaths are fixed.
Plugin translations are loaded for the merge entry point strategy.
Truncated option descriptions in the published JSON schema and type declarations are fixed.
Prettier config is resolved against the file being written and .editorconfig is read, honoring path-specific settings.
Signature parameters are fixed.
Markdown theme translations are now available for the fr locale.
Fixed duplicate sidebar groups when navigation.includeCategories is true and navigation.includeGroups is false.
Headings omit parentheses for function-typed properties to avoid implying the member is a method.
Locale translations are added for grouped @example headings.
Pipe characters in union type output are escaped.
Resolves verbose log warnings that an anchor was requested but does not exist.
Fixed errors related to empty table cells and invalid link fragments in generated Markdown.
Anchors in table cells with table property formats are namespaced by reflection kind to prevent collisions with Markdown heading slugs and ensure stable in-page links.
Guards against undefined types causing errors in complex types in tables.
The plugin now respects monorepo readmeFile configuration.
Items in tables are now linkable.