oak-tailwind 0.0.11

Tailwind CSS parser with support for modern template syntax and features.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("readme.md")]

use oak_core::SourceText;

/// Formatter for Tailwind language.
pub struct TailwindFormatter;

impl TailwindFormatter {
    /// Formats the given source text.
    pub fn format(&self, source: &SourceText, _indent: usize) -> String {
        // TODO: Implement Tailwind formatting logic
        source.text().to_string()
    }
}