We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When writing documentation for vue SFCs, it's often needed to provide examples. It'd be great if those examples would be as readable as the real SFCs.
vue
Create a code block in markdown. Set the block's language to vue.
```vue ... ```
<template> <div class="custom-component"> <slot /> </div> </template> <script> export default { name: 'custom-component', }; </script> <style lang="scss"> .custom-component { padding: 1rem; } </style>
GitHub highlights it, why shouldn't Vetur?
The text was updated successfully, but these errors were encountered:
That's an upstream issue:
@mjbvz Do you have any insights? Should we try to fix this?
Sorry, something went wrong.
In short, this needs:
js
html
css
New fenced code block highlighting can be contributed by extensions, see: https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example
Any progress or ideas on this?
Successfully merging a pull request may close this issue.
Info
Problem
When writing documentation for
vue
SFCs, it's often needed to provide examples. It'd be great if those examples would be as readable as the real SFCs.Reproducible Case
Create a code block in markdown. Set the block's language to
vue
.GitHub highlights it, why shouldn't Vetur?
The text was updated successfully, but these errors were encountered: