Skip to content

Commit

Permalink
docs: mention env vars in custom head/body
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekisi committed Jun 9, 2020
1 parent 5caae38 commit 5fc82fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/configurations/add-custom-body/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ If using relative sizing in your project (like `rem` or `em`), you may update th
</style>
```

That's it. Storybook will inject these tags to html body.
Thats it. Storybook will inject these tags to the html body. It is also possible to use [environment variables](https://storybook.js.org/docs/configurations/env-vars/#usage-in-custom-headbody).

> **Important**
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can accomplish this by creating a file called `preview-head.html` inside the
<script>try{ Typekit.load(); } catch(e){ }</script>
```

That's it. Storybook will inject these tags.
That's it. Storybook will inject these tags. It is also possible to use [environment variables](https://storybook.js.org/docs/configurations/env-vars/#usage-in-custom-headbody).

> **Important**
>
Expand Down

0 comments on commit 5fc82fa

Please sign in to comment.