From 5b3709fff6b8060e97753370d7b091c481d226d9 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 19 Oct 2022 18:05:57 +0200 Subject: [PATCH] Add code language hints --- storybook/stories/docs/introduction.story.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storybook/stories/docs/introduction.story.mdx b/storybook/stories/docs/introduction.story.mdx index 3f2bd7df936471..bdad5c0336ebfe 100644 --- a/storybook/stories/docs/introduction.story.mdx +++ b/storybook/stories/docs/introduction.story.mdx @@ -13,7 +13,7 @@ On this interactive site you can browse individual components, their controls, o The components displayed on this site can be used in your code to build the editor's UI for your custom blocks or other pages. Import them from the components root directory like in below example: -``` +```jsx import { Button } from '@wordpress/components'; export default function MyButton() { @@ -29,7 +29,7 @@ To view the documentation for each component use the **Docs** menu item in the t To use it in your local development environment run the following command in the top level Gutenberg directory: - ``` + ```bash npm run storybook:dev ```