Fredrik Johansson

Results 40 comments of Fredrik Johansson

Let me know if this is still an issue after upgrading to version 5 of the addon. I will close this for now.

We've added this feature in version 5.0.2. Thanks for the idea and the contributions!

Since version 5 you have to manually add `react-syntax-highlighter` as a dependency. From the [readme](https://github.com/whitespace-se/storybook-addon-html#getting-started): > Install the addon and its dependencies. > > With NPM: > > `npm i...

The Storybook application uses React, including all the UI and addons, regardless of what framework you use for your components. `react-syntax-highlighter` is used in the panel to highlight the HTML...

Hi dekisha, Did you install Prettier as well? See the [Getting started section in the readme](https://github.com/whitespace-se/storybook-addon-html#getting-started).

Seems like the theme `github-gist` was removed in favor of `github` in [highlight.js v11.0.0](https://highlightjs.org/#news-142). Should be fixed in v5.1.3 now.

Sounds like a good idea. Would you be able to make a PR for that?

We just released version 6.0.0 which uses Storybook 8 and Prettier 3. Please try to update to the latest version and see if everything works.

I solved this issue in my project by adding these filters in an mu-plugin: ```php