Skip to content

Commit

Permalink
fix: 🐛 description indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
prc5 committed Nov 1, 2024
1 parent 1c8ada7 commit d5c1e77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/pages/handlers/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export const getCommentText = (reflection: JSONOutput.SomeReflection): string =>
return "";
}
// New line is necessary for MDX to parse it correctly - otherwise we would get errors
return `
return `\n
${comment?.summary.map(({ text }) => text).join("\n")}
`;
\n`;
};

0 comments on commit d5c1e77

Please sign in to comment.