You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, when I add a code block in an .mdx file and specify the vue language, the code is not syntax highlighted as expected. This affects readability for Vue code snippets in documentation.
Describe the solution you'd like
Support for Vue syntax highlighting was added in version 15.6.0 of react-syntax-highlighter. Updating to this version and adding the vue language to the supported languages list should resolve the issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
Currently, when I add a code block in an .mdx file and specify the vue language, the code is not syntax highlighted as expected. This affects readability for Vue code snippets in documentation.
Describe the solution you'd like
Support for Vue syntax highlighting was added in version
15.6.0
ofreact-syntax-highlighter
. Updating to this version and adding thevue
language to the supported languages list should resolve the issue.Steps to Reproduce
.mdx
file with a Vue code block.Environment
Proposed Solution
react-syntax-highlighter
to version15.6.0
to enable Vue syntax highlighting. https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases/tag/v15.6.0vue
to the supported languages in the filestorybook/code/core/src/components/syntaxhighlighter/syntaxhighlighter.tsx
.Describe alternatives you've considered
Migrate to Shiki : #29160
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions