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 RustCore FileScanner calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  2c28541e_ab22_5170_2fac_7d3ceef403a2["highlight()"]
  878f6a0e_ea74_3ea2_ad17_27f64191747d["init_tracing()"]
  878f6a0e_ea74_3ea2_ad17_27f64191747d -->|calls| 2c28541e_ab22_5170_2fac_7d3ceef403a2
  5452c671_f140_9758_3733_261668eaa9ff["dim()"]
  2c28541e_ab22_5170_2fac_7d3ceef403a2 -->|calls| 5452c671_f140_9758_3733_261668eaa9ff
  381a0a60_1142_e0c8_a8e4_ba93d2bedc5d["blue()"]
  2c28541e_ab22_5170_2fac_7d3ceef403a2 -->|calls| 381a0a60_1142_e0c8_a8e4_ba93d2bedc5d
  style 2c28541e_ab22_5170_2fac_7d3ceef403a2 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