Home / Function/ highlight() — tailwindcss Function Reference

highlight() — tailwindcss Function Reference

Architecture documentation for the highlight() function in mod.rs from the tailwindcss codebase.

Function rust OxideCore Scanner calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  e48d4ef7_5977_c401_24dd_5337fdfa3267["highlight()"]
  220d6d8d_14c9_3b64_e1b2_32087c764f91["init_tracing()"]
  220d6d8d_14c9_3b64_e1b2_32087c764f91 -->|calls| e48d4ef7_5977_c401_24dd_5337fdfa3267
  3f7e4f51_16f6_29fc_5eb2_94b12aca879e["dim()"]
  e48d4ef7_5977_c401_24dd_5337fdfa3267 -->|calls| 3f7e4f51_16f6_29fc_5eb2_94b12aca879e
  6886affb_dcc4_7303_4a13_da14f1d5b019["blue()"]
  e48d4ef7_5977_c401_24dd_5337fdfa3267 -->|calls| 6886affb_dcc4_7303_4a13_da14f1d5b019
  style e48d4ef7_5977_c401_24dd_5337fdfa3267 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/scanner/mod.rs lines 49–51

fn highlight(input: &str) -> String {
    format!("{}{}{}", dim(&blue("`")), blue(input), dim(&blue("`")))
}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does highlight() do?
highlight() is a function in the tailwindcss codebase.
What does highlight() call?
highlight() calls 2 function(s): blue, dim.
What calls highlight()?
highlight() is called by 1 function(s): init_tracing.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free