Skip to content

Commit

Permalink
fix(remark): fix typedoc-plugin-markdown 4.0.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreyuk committed Jan 2, 2025
1 parent 66bc671 commit fad87da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-falcons-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'typedoc-plugin-remark': patch
---

- Fix typedoc-plugin-markdown 4.0.0 compatibility.
2 changes: 1 addition & 1 deletion packages/typedoc-plugin-remark/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
4 changes: 0 additions & 4 deletions packages/typedoc-plugin-remark/test/typedoc.toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
"disableSources": true,
"hidePageHeader": true,
"outputs": [
{
"name": "html",
"path": "./out/toc-html"
},
{
"name": "markdown",
"path": "./out/toc-md"
Expand Down

0 comments on commit fad87da

Please sign in to comment.