Skip to content

Commit d5c1e77

Browse files
committed
fix: 🐛 description indentation
1 parent 1c8ada7 commit d5c1e77

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/core/src/pages/handlers/comment.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ export const getCommentText = (reflection: JSONOutput.SomeReflection): string =>
2121
return "";
2222
}
2323
// New line is necessary for MDX to parse it correctly - otherwise we would get errors
24-
return `
24+
return `\n
25+
2526
${comment?.summary.map(({ text }) => text).join("\n")}
26-
`;
27+
28+
\n`;
2729
};

0 commit comments

Comments
 (0)