docs: add line highlight validation (#14380)

* docs: add line highlight validation

* add to all projects

* fixes

* fixes

* fix

* fixes
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-12-22 14:10:39 +02:00
1 parent 6380c1fdf4
commit cb33388202
59 files changed
+514 -243

No files matched your search

+2
View File
@@ -13,6 +13,7 @@ import {
prerequisitesLinkFixerPlugin,
remarkAttachFrontmatterDataPlugin,
recmaInjectMdxDataPlugin,
validateHighlightsPlugin,
} from "remark-rehype-plugins"
import bundleAnalyzer from "@next/bundle-analyzer"
import withExtractedTableOfContents from "@stefanprobst/rehype-extract-toc"
@@ -79,6 +80,7 @@ const withMDX = mdx({
tagName: "code",
},
],
[validateHighlightsPlugin, { verbose: false }],
[rehypeSlug],
[
cloudinaryImgRehypePlugin,