Skip to content

Commit

Permalink
fix: build fail on mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
ppeeou committed Mar 20, 2024
1 parent 35565ea commit f8825a7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions website/markdown-plugin/src/MarkdownFeature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ class MarkdownFeature extends MarkdownDocumenterFeature {
public onBeforeWritePage(
eventArgs: IMarkdownDocumenterFeatureOnBeforeWritePageArgs,
): void {
this.header = [
"---",
`id: ${eventArgs.apiItem.displayName}`,
"---",
"<!-- Do not edit this file. It is generated automatically -->",
];
this.header = ["---", `id: ${eventArgs.apiItem.displayName}`, "---"];

this.footer = [];

Expand Down

0 comments on commit f8825a7

Please sign in to comment.