From bb0adf2861f67385a148c28e09cc7eacf2949e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Thu, 25 Jun 2020 17:05:10 +0200 Subject: [PATCH] Update markdown-features.mdx --- website/docs/markdown-features.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/markdown-features.mdx b/website/docs/markdown-features.mdx index e526a2954ca9..d4e8cef1d7d8 100644 --- a/website/docs/markdown-features.mdx +++ b/website/docs/markdown-features.mdx @@ -571,7 +571,7 @@ module.exports = { If you want to add highlighting for languages not yet supported by Prism, you can swizzle `prism-include-languages`: ```bash npm2yarn -yarn swizzle @docusaurus/theme-classic prism-include-languages +npm run swizzle @docusaurus/theme-classic prism-include-languages ``` It will produce `prism-include-languages.js` in your `src/theme` folder. You can add highlighting support for custom languages by editing `prism-include-languages.js`: