Skip to content

Commit 3fc894f

Browse files
slorberclaude
andauthored
chore(utils): remove stale gray-matter TODO comment (AI-assisted) (#12805)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 74a80e3 commit 3fc894f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎packages/docusaurus-utils/src/markdownUtils.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ export function parseFileContentFrontMatter(fileContent: string): {
251251
/** The remaining content, trimmed. */
252252
content: string;
253253
} {
254-
// TODO Docusaurus v4: replace gray-matter by a better lib
255-
// gray-matter is unmaintained, not flexible, and the code doesn't look good
256254
const {data, content} = matter(fileContent);
257255

258256
// gray-matter has an undocumented front matter caching behavior

0 commit comments

Comments
 (0)