I am creating a storybook with Angular 19 where I want to display a story's internal code when we click "Show Code". The "Show Code" section displays the story's usage instead of its internal code. I am aware that that's how it is intended, but I am trying to customise this behaviour.
Output for a "Button" story: Show screenshot
This shows the code as:
<storybook-button
[primary]="true"
[label]="'Button'"
(onClick)="onClick($event)"
></storybook-button>