docs(v2): Fix typo in markdown-features (#2973)

* Fix typo in markdown-features

The code needed to be in npm syntax in order to work with npm2yarn

* Update markdown-features.mdx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
ehsan jso 2020-06-25 19:35:51 +04:30 committed by GitHub
parent 65ce107331
commit 8304e8253c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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`: