diff --git a/.changeset/wise-falcons-move.md b/.changeset/wise-falcons-move.md new file mode 100644 index 000000000..5410d0a28 --- /dev/null +++ b/.changeset/wise-falcons-move.md @@ -0,0 +1,5 @@ +--- +'typedoc-plugin-remark': patch +--- + +- Fix typedoc-plugin-markdown 4.0.0 compatibility. diff --git a/packages/typedoc-plugin-remark/src/index.ts b/packages/typedoc-plugin-remark/src/index.ts index 5f6ea990a..38c1d276d 100644 --- a/packages/typedoc-plugin-remark/src/index.ts +++ b/packages/typedoc-plugin-remark/src/index.ts @@ -23,7 +23,7 @@ export function load(app: MarkdownApplication) { } as DeclarationOption); }); - app.renderer.postMarkdownRenderAsyncJobs.push(async (output) => { + app.renderer.postRenderAsyncJobs.push(async (output) => { const remarkPlugins = app.options.getValue('remarkPlugins') as []; const defaultPlugins = getDefaultPlugins( app.options.getValue('defaultRemarkPlugins'), diff --git a/packages/typedoc-plugin-remark/test/typedoc.toc.json b/packages/typedoc-plugin-remark/test/typedoc.toc.json index 020c9a594..235dba7ec 100644 --- a/packages/typedoc-plugin-remark/test/typedoc.toc.json +++ b/packages/typedoc-plugin-remark/test/typedoc.toc.json @@ -7,10 +7,6 @@ "disableSources": true, "hidePageHeader": true, "outputs": [ - { - "name": "html", - "path": "./out/toc-html" - }, { "name": "markdown", "path": "./out/toc-md"