Skip to content

Commit

Permalink
Merge pull request #11095 from andre-brdoch/next
Browse files Browse the repository at this point in the history
docs: mention env vars on custom head/body pages
  • Loading branch information
ndelangen authored Jun 9, 2020
2 parents 5caae38 + 5fc82fa commit 2da7fb1
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 2da7fb1

Please sign in to comment.