Skip to content

Commit

Permalink
Use blade tags to render blade in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman authored Jun 2, 2024
1 parent af85495 commit f56a337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $chart = (new Chart)->setType('donut')

Then, include the JavaScript (on every page using charts).

```html
```blade
<!-- layout.blade.php -->
<body>
Expand All @@ -65,7 +65,7 @@ Then, include the JavaScript (on every page using charts).

Finally, call the `container` and `script` method wherever you want to display the chart.

```php
```blade
<!-- dashboard.blade.php -->
{!! $chart->container() !!}
Expand Down

0 comments on commit f56a337

Please sign in to comment.