Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Rias committed Dec 7, 2017
1 parent 275c7c5 commit e008277
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 @@ -31,7 +31,7 @@ Once Schema is installed, it's accessible through the `craft` variable in your t
For the best experience, set the schema to a variable and typehint it to Spatie's model. In combination with the [Symfony plugin](https://plugins.jetbrains.com/plugin/7219-symfony-plugin) for PHPStorm, you get autocompletion for all the Schema's and their properties.

For example:
```
```twig
{# @var schema \Spatie\SchemaOrg\Schema #}
{% set schema = craft.schema %}
{{ schema
Expand All @@ -54,7 +54,7 @@ For example:

Generates the following output:

```
```javascript
<script type="application/ld+json">
{
"@context":"http:\/\/schema.org",
Expand Down

0 comments on commit e008277

Please sign in to comment.