Skip to content

Commit

Permalink
Merge pull request #15 from stevebauman/patch-5
Browse files Browse the repository at this point in the history
Use `blade` tags to render blade in readme
  • Loading branch information
denisdulici authored Jun 3, 2024
2 parents 5da808d + f56a337 commit 4e5f5dc
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 4e5f5dc

Please sign in to comment.