Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit afc1c4d

Browse files
JesmoDeviOvergaard
authored andcommitted
adds formatting to source blocks and excldues decorators
1 parent 1834007 commit afc1c4d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.storybook/preview.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ const documentTreeStoreProvider = (story) => html`
8888
export const decorators = [documentStoreProvider, documentTreeStoreProvider, dataTypeStoreProvider, storybookProvider];
8989

9090
export const parameters = {
91+
docs: {
92+
source: {
93+
excludeDecorators: true,
94+
format: 'html', // see storybook docs for more info on this format https://storybook.js.org/docs/api/doc-blocks/doc-block-source#format
95+
},
96+
},
9197
options: {
9298
storySort: {
9399
method: 'alphabetical',

0 commit comments

Comments
 (0)