Comments (1)
Vetur supports highlighting for custom blocks: https://github.com/vuejs/vetur/blob/master/docs/highlighting.md
But there seems to be an issue when the block starts with style...
- so I added support for nsg-
So to get this to work you need to
- install
nuxt-styleguide@^5.2.0
- Add this to your vscode config:
"vetur.grammar.customBlocks": { "nsg-doc": "md", "nsg-states": "js" }
- Run the command "Vetur: Generate grammar from vetur.grammar.customBlocks" (via Command+Shift+P)
- Close and re-open vscode
- Refactor use of
styleguide-doc
tonsg-doc
- Refactor use of
styleguide-states
tonsg-states
- enjoy
from nuxt-styleguide.
Related Issues (14)
- Adding a single comment (`//`) to (the top of) a `scss` file results in wrong output
- Highlight current nav-item in sidebar-menu to improve overview HOT 1
- Use prism.js as code highlighter HOT 1
- Fix usage of Nuxt.Options/Nuxt.Utils HOT 3
- migrate to CircleCI 2.0 HOT 2
- remove custom transform implementation of nuxt-custom-route-folder HOT 2
- Use Theo for design token handling
- Improve test coverage HOT 2
- Don't render Icon Route when there is no icon
- Idea: Make styleguide build process more verbose
- Error: Couldn't find preset "env" relative to directory
- Components importing components seem to fail HOT 1
- Question: Possible to add special styling to `component-demo` divs for styleguide-states? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt-styleguide.