Skip to content

[12.x] Use consistent Blade syntax highlighting for @use directive examples #10335

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

Merged
merged 1 commit into from
Apr 21, 2025

Conversation

AhmedAlaa4611
Copy link
Contributor

Description:

This PR updates the second @use directive example to use the blade code block instead of php. Currently, the first example uses the correct Blade syntax. However, the second example is using a php block. This causes inconsistent syntax highlighting and may be confusing for readers. Updating it to use the blade code block. Ensures visual consistency and better represents how this directive is used in Blade templates, similar to the experience in code editors.

@taylorotwell taylorotwell merged commit f25d00a into laravel:12.x Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants