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 Oxide Scanner calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9["highlight()"]
  b82a42d6_b7d3_c6d2_1e14_451f8382da81["mod.rs"]
  f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9 -->|defined in| b82a42d6_b7d3_c6d2_1e14_451f8382da81
  31b87bd8_91a3_da66_ab41_589f13d8021f["init_tracing()"]
  31b87bd8_91a3_da66_ab41_589f13d8021f -->|calls| f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9
  a05bd267_ec16_c571_501b_bcf2598cad1b["dim()"]
  f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9 -->|calls| a05bd267_ec16_c571_501b_bcf2598cad1b
  4f2c307a_d9a0_8ab8_4860_54e4a7dd9c36["blue()"]
  f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9 -->|calls| 4f2c307a_d9a0_8ab8_4860_54e4a7dd9c36
  style f4bbe8ea_5311_f643_3fb9_1b7ffd6dabc9 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, defined in crates/oxide/src/scanner/mod.rs.
Where is highlight() defined?
highlight() is defined in crates/oxide/src/scanner/mod.rs at line 49.
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