From c7c57d5cfc2cc5b3f88590e94bd9e49ccfc7ae9f Mon Sep 17 00:00:00 2001 From: Joaquim Costa Date: Tue, 7 Jul 2026 16:58:51 -0400 Subject: [PATCH 1/4] fix(tailwind-from-scratch): escape note attribute quotes correctly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two lessons' attributes embedded a literal `\"..."` inside a plain JSX string attribute. JSX plain-attribute strings don't support backslash-escaping — the backslash is literal and the following quote closes the attribute early, desyncing the rest of the tag. Velite drops both lessons from the catalog as a result (silent 404 at runtime). Swap the inner double quotes for single quotes; no escaping needed. Verified both lessons now compile via @mdx-js/mdx (matches the Velite/apps-web toolchain). --- courses/tailwind-from-scratch/lessons/22-modu-sukuru/kea.mdx | 2 +- .../tailwind-from-scratch/lessons/23-tailwind-cli-v4/kea.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/courses/tailwind-from-scratch/lessons/22-modu-sukuru/kea.mdx b/courses/tailwind-from-scratch/lessons/22-modu-sukuru/kea.mdx index 98b8b46..1791abe 100644 --- a/courses/tailwind-from-scratch/lessons/22-modu-sukuru/kea.mdx +++ b/courses/tailwind-from-scratch/lessons/22-modu-sukuru/kea.mdx @@ -31,7 +31,7 @@ Na v3, bu konfigura dark mode na `tailwind.config.js`. Na v4 kel linha sumiu — lang="css" filename="di v3 config pa v4 @custom-variant" title="Dark mode: di v3 pa v4" - note="v3 ta pega `darkMode: 'class'` na JavaScript config; v4 ta uza `@custom-variant` na bu blok `