Skip to content

Commit c4f646c

Browse files
authored
Fix : Formatting markdown in blade.md (#10307)
* Fix : Formatting markdown in blade.md * Correct the formatting ref PR #10307
1 parent ffb08b0 commit c4f646c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blade.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The `@` symbol may also be used to escape Blade directives:
155155

156156
Sometimes you may pass an array to your view with the intention of rendering it as JSON in order to initialize a JavaScript variable. For example:
157157

158-
```blade
158+
```php
159159
<script>
160160
var app = <?php echo json_encode($array); ?>;
161161
</script>

0 commit comments

Comments
 (0)