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 d1c230da_9a9a_9c20_869c_a4a4f7e84d0c["markPretty()"] cc32470d_4e38_6d9b_e583_6e81bb0dc253["migrate()"] cc32470d_4e38_6d9b_e583_6e81bb0dc253 -->|calls| d1c230da_9a9a_9c20_869c_a4a4f7e84d0c style d1c230da_9a9a_9c20_869c_a4a4f7e84d0c 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.
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