From 9ccc8fb7959f89f677ed3923bd68f0c08c18d59b Mon Sep 17 00:00:00 2001 From: Kristjan Broder Lund Date: Thu, 13 Nov 2025 09:36:45 +0000 Subject: [PATCH] docs: format code blocks correctly (#24672) ### What does this PR do? The code blocks were not properly formatted, and did not render correctly `main`: image this pr: image ### How did you verify your code works? ran docs locally with mint --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Michael H --- docs/bundler/html-static.mdx | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/bundler/html-static.mdx b/docs/bundler/html-static.mdx index 8dd8ecb955..135b7f41ac 100644 --- a/docs/bundler/html-static.mdx +++ b/docs/bundler/html-static.mdx @@ -237,13 +237,27 @@ Then, reference TailwindCSS in your HTML via `` tag, `@import` in CSS, or + ```html title="index.html" icon="file-code" - {/* Reference TailwindCSS in your HTML */} + ``` + + + + + ```css title="styles.css" icon="file-code" + @import "tailwindcss"; + ``` + + + + + ```ts title="app.ts" icon="/icons/typescript.svg" + import "tailwindcss"; + ``` + - ```css title="styles.css" icon="file-code" @import "tailwindcss"; ``` - ```ts title="app.ts" icon="/icons/typescript.svg" import "tailwindcss"; ``` Only one of those are necessary, not all three.