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
2025-12-22 14:10:39 +02:00
committed by GitHub
parent 6380c1fdf4
commit cb33388202
59 changed files with 514 additions and 243 deletions

View File

@@ -5,6 +5,7 @@ import rehypeSlug from "rehype-slug"
import {
brokenLinkCheckerPlugin,
crossProjectLinksPlugin,
validateHighlightsPlugin,
} from "remark-rehype-plugins"
import path from "path"
import { catchBadRedirects } from "build-scripts"
@@ -93,6 +94,7 @@ const withMDX = createMDX({
tagName: "code",
},
],
[validateHighlightsPlugin, { verbose: false }],
[rehypeSlug],
],
development: process.env.NODE_ENV === "development",