markPretty() — tailwindcss Function Reference
Architecture documentation for the markPretty() function in format-nodes.test.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD d2e3cffb_c637_4513_a442_e3ef728c1adb["markPretty()"] fb30d75d_33fe_1bdc_7044_fd6d2cc1b187["format-nodes.test.ts"] d2e3cffb_c637_4513_a442_e3ef728c1adb -->|defined in| fb30d75d_33fe_1bdc_7044_fd6d2cc1b187 b2462a9a_300b_e7ab_7d56_790bc72f6c28["migrate()"] b2462a9a_300b_e7ab_7d56_790bc72f6c28 -->|calls| d2e3cffb_c637_4513_a442_e3ef728c1adb style d2e3cffb_c637_4513_a442_e3ef728c1adb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/codemods/css/format-nodes.test.ts lines 6–15
function markPretty(): Plugin {
return {
postcssPlugin: '@tailwindcss/upgrade/mark-pretty',
OnceExit(root) {
root.walkAtRules('tw-format', (atRule) => {
atRule.raws.tailwind_pretty = true
})
},
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does markPretty() do?
markPretty() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/codemods/css/format-nodes.test.ts.
Where is markPretty() defined?
markPretty() is defined in packages/@tailwindcss-upgrade/src/codemods/css/format-nodes.test.ts at line 6.
What calls markPretty()?
markPretty() is called by 1 function(s): migrate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free