Support SugarSS Syntax Highlighting
See original GitHub issueInfo
- Platform: Win
- Vetur version: 0.11.6
- VS Code version: 1.19.2
Problem
SugarSS is a PostCSS parser for indented syntax and neither the PostCSS grammar used in Vetur or the extension below support the indented SugarSS syntax with the source.css.postcss
language source
Adding lang='sss'
and lang='sugarss'
that sets the region’s language to source.css.sugarss
will add highlighting when postcss-sugarss-language is installed, like with SASS support. This’ll also support Stylelint.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Syntax Highlighting for SSS SugarSS - Package Control
This is a Syntax highlighting package for SugarSS (PostCSS) on Sublime ... Fully support; Match syntax structure instead of keywords, that means support...
Read more >Building Sugarss with SuperflyCSS | by Ole Ersoy - Medium
We have sugarss formatted CSS in the file src/main/sss/index.sss : .a color: red:fullscreen. We need to build it by passing it through all...
Read more >Issuehunt
Support SugarSS Syntax Highlighting #662 ... SugarSS is a PostCSS parser for indented syntax and neither the PostCSS grammar used in Vetur or...
Read more >Jonathan Neal on Twitter: "VSCode and PostCSS users ...
I use postcss-sugarss-language extension but never configured the markdown syntax to highlight it.
Read more >SugarSS at Evil Martians
With more than 200 plugins, developers can lint CSS, support variables and mixins, transpile future CSS syntax, and more. PostCSS logo. Product; Frontend...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would definitely be nice to have this issue resolved if possible. A lot of projects at my work are using SugarSS so it would be great to get syntax highlight support.
Would it be okay if I tried to make a PR for this?
The PR is welcome without https://github.com/vuejs/vetur/issues/662#issuecomment-360242512.