Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Formatting pure css/js blade files #884

Closed
bilogic opened this issue Nov 15, 2024 · 1 comment
Closed

[Feature]: Formatting pure css/js blade files #884

bilogic opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels
Stale Stale label

Comments

@bilogic
Copy link

bilogic commented Nov 15, 2024

Description

  1. I sometimes generate CSS/JS that contain configuration by users.
  2. And I usually save them as style-css.blade.php, which renders as a style.css
  3. Likewise, script-js.blade.php, which renders into script.js

The problem is, these files cannot accept <style> nor <script> and as a result, this formatter does not know how to handle them.

Suggested Solution

Have flags {{-- js-formatter-enable --}} and {{-- js-formatter-disable --}} that formats everything in between as JS
Do the same for CSS

Alternatives

No response

Additional Context

No response

@bilogic bilogic changed the title [Feature]: Format as .css/.js [Feature]: Formatting pure css/js blade files Nov 15, 2024
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale Stale label label Jan 15, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale label
Projects
None yet
Development

No branches or pull requests

1 participant