From bbde07f787c4cec20d22384a32699569072227be Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 17 Jul 2025 14:12:50 -0300 Subject: [PATCH 1/2] Add Slang language support. Slang is basically a Slim template language for Crystal language, so the very same Slim parser works fine. Slim template: https://github.com/slim-template/slim Slang template: https://github.com/jeromegn/slang --- crates/oxide/src/scanner/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxide/src/scanner/mod.rs b/crates/oxide/src/scanner/mod.rs index 0d2fceba60bb..469c58146306 100644 --- a/crates/oxide/src/scanner/mod.rs +++ b/crates/oxide/src/scanner/mod.rs @@ -488,7 +488,7 @@ pub fn pre_process_input(content: &[u8], extension: &str) -> Vec { "json" => Json.process(content), "pug" => Pug.process(content), "rb" | "erb" => Ruby.process(content), - "slim" => Slim.process(content), + "slim" | "slang" => Slim.process(content), "svelte" | "rs" => Svelte.process(content), "vue" => Vue.process(content), _ => content.to_vec(), From 0e1c2e2e5b13d6227e1c6664e3f2fd7c3a905bda Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Thu, 17 Jul 2025 13:55:50 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index df7bd474bc28..f088d873a217 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Handle when `process.env.DEBUG` is a boolean in `@tailwindcss/node` ([#18485](https://github.com/tailwindlabs/tailwindcss/pull/18485)) - Ignore consecutive semicolons in the CSS parser ([#18532](https://github.com/tailwindlabs/tailwindcss/pull/18532)) - Center the dropdown icon added to an input with a paired datalist ([#18511](https://github.com/tailwindlabs/tailwindcss/pull/18511)) +- Extract candidates in Slang templates ([#18565](https://github.com/tailwindlabs/tailwindcss/pull/18565)) ## [4.1.11] - 2025-06-26