From f5763914e7a23a7abcc6075fe774b4136a10d9f9 Mon Sep 17 00:00:00 2001 From: Melvin Carvalho Date: Sun, 18 Oct 2026 14:11:49 +0200 Subject: [PATCH] Render :::type Title admonition titles future.v4 turns off mdx1Compat.admonitions, so 83 admonitions on 48 pages written as `:::danger Title` showed the title as literal text, including the approval/sandbox safety warnings. Turn the compat flag back on; the build now has no literal ':::' admonition lines. --- docusaurus.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 198eb7d..ef7a6ad 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -32,6 +32,9 @@ const config: Config = { // explicit heading IDs ({#anchor}) in many pages. mdx1Compat: { headingIds: true, + // Docs use the `:::danger Title` admonition syntax; v4 defaults would + // render the title as literal text. + admonitions: true, }, },